Permission sets in a workspace

  • GET
  • /workspaces
  • /:workspace
  • /permissions

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

Request

REQUIRED SCOPES
WORKSPACE
URL PARAMETERS
workspacerequired string
The workspace domain.

Last modified on Mar 3, 2025

Example:

CURL
curl -X GET "https://api.buddy.works/workspaces/:workspace/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