Create or update a team role
PUT/v1/team_roles
Looks the role up by id, public_id or external_id. The slug carries no unique constraint and therefore does not identify a row. If found, updates it; otherwise creates it and returns 201.
Request
Responses
- 200
- 201
- 400
- 401
- 403
- 404
- 422
- 429
- 500
Record updated.
Record created.
Request body failed validation.
Missing or invalid bearer token.
Token is valid but lacks permission for this operation.
Resource not found in the current organization.
Request body failed validation.
Rate limit exceeded.
Unexpected server error.