Permission required: depends on what you send:
- When you send
role:member:change_role - When you send
max_tokens:member:set_quota - Changes that give someone an admin role, or that reduce what an admin can reach, also require the team owner or an admin.
Path Parameters
string
required
Identifier of the member (
principal_id)Headers
string
Optional. Retrying with the same value replays the first result.
Request Body
integer
Per-member usage cap in tokens, at most 1374389534. 0 removes the cap.
string
New role: tenant_admin, tenant_member, or a custom role key of this team. The owner role cannot be assigned here.
Response
Errors
Errors answer withsuccess: false, a message and an error_code. See Error Codes for every code.