Single custom permission set

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

Returns a single permission set defined in the workspace. Restricted to admins only.

type can be either DEVELOPER, READ_ONLY or CUSTOM.

Request

REQUIRED SCOPES
WORKSPACE
URL PARAMETERS
domainrequired string
The workspace domain.
permission_set_idrequired integer
The numerical ID of the desired permission set.

Last modified on Sep 25, 2024

Example:

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