Update a member
Updates the role of a specific member of an organization.
HTTP request
Parameters
The following table lists the parameters that this action supports.
Required
Parameter name | Type | Description |
---|---|---|
member_id | int | The unique ID of an organization member. |
Request body
The following table lists the properties of an HTTP request that this action supports. The two properties shown below can't be requested at the same time. If a user requests both properties, the response returns an error.
Optional
Property name | Type | Description |
---|---|---|
predefined_role | string | Specifies a system role provided by default in an organization. Acceptable values are OWNER, ADMIN, BILLING, DESK_ADMIN, DESK_AGENT, CALL_USER, and DEFAULT. |
role | string | Role names customizable by the user. |
Response
If successful, this action returns a member resource in the response body.
In the case of an error, an error object is returned. A detailed list of error codes is available here.