Delete an App Custom Role
Delete a custom role. A role that is assigned to a team member or to a pending invite cannot be deleted; move them to another role first. The name can be reused after deletion.
Delete a custom role. A role that is assigned to a team member or to a pending invite cannot be deleted; move them to another role first. The name can be reused after deletion.
api_keyAuthorizationBasic <token>role_id*stringID of the custom role.
uuidOK
application/json- response
id?stringuuidobject?stringdeleted?booleancurl -X DELETE 'https://api.dots.dev/api/v2/roles/497f6eca-6276-4993-bfeb-53cbbbba6f08'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "object": "role", "deleted": true}Update an App Custom Role
Rename a custom role or replace its actions. Only the fields you send change. Team members with the role get the new actions immediately.
Change an App Developer's Role
Give a team member a built-in role or a custom role. Send exactly one of `role` or `custom_role_id`; setting one clears the other. A change that would leave the App without an admin is rejected. Organization-level members (`scope: organization`) cannot be changed here; use `update-organization-developer` with an organization API key.