project-roles-management
Get roles for a project
This API returns the list of user roles existing in the project. The user roles are listed by their IDs. The values for role IDs vary by project.
To get a specific user role only (for example, the Administrator user role or the Viewer user role), use the identifier parameter set to the user role identifier, for example:
.../gdc/projects/{project_id}/roles?identifier=adminRole
For more information about user roles and their identifiers, see User Roles.
get/gdc/projects/{project_id}/roles
Request
- Base URLhttps://secure.gooddata.com
- Authnone declared
Path parameters
project_idstring required
The project ID of the project whose roles you want to get.
Query parameters
identifierstring
The identifier of the user role that you want to get. Example: adminRole, readOnlyUserRole
Response
_
Example response
{
"projectRoles": {
"roles": [
"/gdc/projects/{project_id}/roles/{user_role_1_id}"
],
"links": {
"project": "/gdc/projects/{project_id}/"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.