get https://cgc-api.sbgenomics.com/v2
/projects/{project_owner}/{project}/members/{username}
This returns the permissions of a specified user within a specified project.
Users may have the following permissions on the CGC:
- Read
- Write
- Copy
- Execute
- Admin
Permissions are granted at the project-level. You may, for instance, have admin permission in one project, execute permission in another, and read-only permission in a third.
For more information on permissions on the CGC, see the documentation on setting permissions.
Request
Example request
Header Fields
Name | Description |
---|---|
X-SBG-Auth-Token required | Your CGC authentication token. |
Path parameters
Name | Description |
---|---|
project_owner required | The CGC username of the user who owns the project. |
project required | The short name of the project to access. |
username required | The CGC username of the user whose permissions you are enquiring about. |
Query parameters
Name | Data type | Description |
---|---|---|
fields | string | Selector specifying a subset of fields to include in the response. |
Response
See a list of CGC-specific response codes that may be contained in the body of the response.
Example response body
Project member permissions
Learn more about project member permissions.