Team member
Available endpoints:
Name | Method | Path |
---|---|---|
get | /v3/customer/team | |
post | /v3/customer/team-member/{teamMemberId}/suspend | |
post | /v3/customer/team-member/{teamMemberId}/unsuspend | |
delete | /v3/customer/team/{teamMemberId} |
List of team members
gethttps://api.cdn77.com/v3/customer/team
Responses
200 – Team member list returned.
// example of the response
[
{
"id": "9880280c-0507-46d1-88f3-71cfee83fa57",
"email": "email@domain.com",
"full_name": "Name MiddleName Surname",
"has_two_step_auth_enabled": true,
"is_pending": true,
"type": "team"
}
]
Suspend team member
posthttps://api.cdn77.com/v3/customer/team-member/{teamMemberId}/suspend
Request parameters
teamMemberIdrequiredstring in path
Responses
204 – Team member was suspended
404 – Team member not found
Unsuspend team member
posthttps://api.cdn77.com/v3/customer/team-member/{teamMemberId}/unsuspend
Request parameters
teamMemberIdrequiredstring in path
Responses
204 – Team member was unsuspended
404 – Team member not found
Delete team member
deletehttps://api.cdn77.com/v3/customer/team/{teamMemberId}
Request parameters
teamMemberIdrequiredstring in path
Responses
204 – Team member was deleted.
404 – Team member not found