Organization Team Members Api Service
Change the role of an existing team member of an organization. Only the organization owner or a delegated team member with the manageTeamMembers permission may call this; nobody may change their own role this way, not even a delegate who holds manageTeamMembers.
patch/v2/organizations/{organizationId}/team-members/{userId}
Request
- Base URL: https://app.metricool.com/api
- URL: https://app.metricool.com/api/v2/organizations/{organizationId}/team-members/{userId}
- Auth: none declared
Path parameters
organizationIdinteger required
Id of the organization
userIdinteger required
User id of the team member
Request body
Example request
{
"roleId": 10
}Response
Role updated.
Example response
{
"data": {
"id": 42,
"userId": 1234,
"email": "member@example.com",
"fullName": "Ana García",
"profilePicture": "https://cdn.metricool.com/avatars/1234.png",
"roleId": 10,
"enabled": true
}
}Changes
No recorded changes to this operation across all 5 revisions of this API.