/2016-07/deployments/:id/roles

Assign User Roles for Deployment

Given a user_id and a role name, this endpoint will assign a user to the role specified for a deployment. The current roles and their permissions are described below

Roles

RoleDescription
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 role with the following fields.

KeyDescription
nameThe name associated with the role
usersList of users currently assigned to this role
Language
Authentication
Header
Click Try It! to start a request and see the response here!