Permission sets in a workspace

  • GET
  • /workspaces
  • /:domain
  • /permissions

Returns all permission sets defined in the workspace. Restricted to admins only.

Request

REQUIRED SCOPES
WORKSPACE
URL PARAMETERS
domainrequired string
The workspace domain.

Last modified on Sep 23, 2024

Example:

CURL
curl -X GET "https://api.buddy.works/workspaces/:domain/permissions" \ -H "Authorization: Bearer <YOUR-TOKEN>" \ -H "Content-Type: application/json" \
EXAMPLE RESPONSE
{ "url": "https://api.buddy.works/workspaces/buddy/permissions", "html_url": "https://app.buddy.works/buddy/permissions", "permission_sets": [ { "url": "https://api.buddy.works/workspaces/buddy/permissions/2", "html_url": "https://app.buddy.works/buddy/permissions/edit/2", "id": 2, "name": "Read-only", "description": null, "type": "READ_ONLY", "repository_access_level": "READ_ONLY", "pipeline_access_level": "READ_ONLY", "sandbox_access_level": "READ_ONLY" }, { "url": "https://api.buddy.works/workspaces/buddy/permissions/3", "html_url": "https://app.buddy.works/buddy/permissions/edit/3", "id": 3, "name": "Artist", "description": null, "type": "CUSTOM", "repository_access_level": "READ_ONLY", "pipeline_access_level": "DENIED", "sandbox_access_level": "DENIED" }, { "url": "https://api.buddy.works/workspaces/buddy/permissions/1", "html_url": "https://app.buddy.works/buddy/permissions/edit/1", "id": 1, "name": "Developer", "description": null, "type": "DEVELOPER", "repository_access_level": "READ_WRITE", "pipeline_access_level": "READ_WRITE", "sandbox_access_level": "READ_WRITE" } ] }
STATUS
200 OK
LIMITS
X-Rate-Limit-Limit: 1 X-Rate-Limit-Remaining: 999