post https://api.compose.io/2016-07/deployments//team_roles
Assign Team Roles for Deployment
Given a team_id
and a role name
, this endpoint will assign a team to the role specified for a deployment. The current roles and their permissions are in the following table.
Roles
Role | Description |
---|---|
developer | Developers have access to the data within the deployment, including connection strings, backups, and log files. |
manager | Managers can configure the deployment itself, including scaling it, adding and removing portals, and configuring database-specific settings. |
admin | Admins can do everything Developers and Managers can, and in addition, they can configure roles and deprovision the deployment. |
Returned JSON
The endpoint returns the assigned team role with the following fields.
Key | Description |
---|---|
name | The name associated with the role |
teams | List of teams currently assigned to this role |