Create
- POST
- /workspaces
- /:workspace
- /permissions
Creates a custom permission set. Restricted to admins only.
Request example
curl -X POST "https://api.buddy.works/workspaces/:workspace/permissions" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"name": "Developer",
"description": "Full development access with restrictions",
"repository_access_level": "READ_WRITE",
"pipeline_access_level": "READ_WRITE",
"sandbox_access_level": "READ_WRITE",
"project_team_access_level": "READ_ONLY",
"environment_access_level": "USE_ONLY",
"package_access_level": "READ_WRITE"
}'