Team

Assign a custom role

Changed on

Gives a member one of the workspace's roles, or null to take it away. Nobody changes their own role or permissions, so a credential can never promote the person it acts for; a change may grant only permissions that person holds, and the workspace always keeps a member who holds team.

Scope: team:write. The person behind the credential needs the team permission (Admins by default).

put/v1/team/members/{userId}/workspace-role

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

userId, string uuid required

Request body

object required
role_id, string uuid nullable required

Response

Assign a custom role: done.

union required
object required
OR
unknown[] required

Changes