Edit
- PATCH
- /workspaces
- /:domain
- /permissions
- /:permission_set_id
Edits a custom permission set. Restricted to admins only.
Example:
curl -X PATCH "https://api.buddy.works/workspaces/:domain/permissions/:permission_set_id" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"description": "Artists can only view source",
"pipeline_access_level": "DENIED"
}'
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", "project_team_access_level": "READ_ONLY" }
STATUS200 OK
LIMITSX-Rate-Limit-Limit: 1 X-Rate-Limit-Remaining: 999