Get

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

Required scopes: WORKSPACE

Resource URL

GET /workspaces/:domain/permissions/:permission_set_id

URL Parameters

NameStringDescription
domain
Required
StringThe workspace domain.
permission_set_id
Required
IntegerThe numerical ID of the desired permission set.

Example

Request

GET https://api.buddy.works/workspaces/buddy/permissions/3

Sample Response

HTTP

Status: 200 OK
X-Rate-Limit-Limit: 1
X-Rate-Limit-Remaining: 999

JSON

{
"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 access only to source",
"type": "CUSTOM",
"repository_access_level": "READ_WRITE",
"pipeline_access_level": "DENIED"
}

type can be either DEVELOPER, READ_ONLY or CUSTOM.