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
workspacerequiredstring
The workspace name.

Last modified on Jan 19, 2026

Request example

CURL
curl -X GET "https://api.buddy.works/workspaces/:workspace/permissions" \ -H "Authorization: Bearer <YOUR-TOKEN>" \ -H "Content-Type: application/json" \

Response

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" } ] }