v4

latestOpenAPI 3.0.1Apache 2.02026-07-312457525.9 MB
Permission API

Creates a custom permission set. Restricted to admins only.

post/workspaces/{workspace_domain}/permissions

Path parameters

workspace_domainstring required
Example:my-company

Workspace domain

Request body

urlstring

API endpoint to GET this object

html_urlstring

Web URL to view this object in Buddy.works

namestring required

The name of the permission set

descriptionstring

The description of the permission set

repository_access_level'DENIED' | 'READ_ONLY' | 'READ_WRITE' | 'MANAGE' required

The repository access level

pipeline_access_level'DENIED' | 'READ_ONLY' | 'RUN_ONLY' | 'READ_WRITE' required

The pipeline access level

sandbox_access_level'DENIED' | 'READ_ONLY' | 'RUN_ONLY' | 'READ_WRITE' required

The sandbox access level

project_team_access_level'READ_ONLY' | 'MANAGE' required

The project team access level

environment_access_level'DENIED' | 'MANAGE' | 'USE_ONLY' required

The environment access level

artifact_access_level'DENIED' | 'READ_ONLY' | 'READ_WRITE' | 'MANAGE' required

The artifact access level

routing_access_level'DENIED' | 'READ_ONLY' | 'MANAGE' required

The routing access level

target_access_level'DENIED' | 'READ_ONLY' | 'USE_ONLY' | 'MANAGE' required

The target access level

tunnel_agent_access_level'DENIED' | 'READ_ONLY' | 'USE_ONLY' | 'MANAGE' required

Tunnel agent access level

Response

Permission set created successfully

urlstring

API endpoint to GET this object

html_urlstring

Web URL to view this object in Buddy.works

namestring required

The name of the permission set

descriptionstring

The description of the permission set

repository_access_level'DENIED' | 'READ_ONLY' | 'READ_WRITE' | 'MANAGE' required

The repository access level

pipeline_access_level'DENIED' | 'READ_ONLY' | 'RUN_ONLY' | 'READ_WRITE' required

The pipeline access level

sandbox_access_level'DENIED' | 'READ_ONLY' | 'RUN_ONLY' | 'READ_WRITE' required

The sandbox access level

project_team_access_level'READ_ONLY' | 'MANAGE' required

The project team access level

environment_access_level'DENIED' | 'MANAGE' | 'USE_ONLY' required

The environment access level

artifact_access_level'DENIED' | 'READ_ONLY' | 'READ_WRITE' | 'MANAGE' required

The artifact access level

routing_access_level'DENIED' | 'READ_ONLY' | 'MANAGE' required

The routing access level

target_access_level'DENIED' | 'READ_ONLY' | 'USE_ONLY' | 'MANAGE' required

The target access level

tunnel_agent_access_level'DENIED' | 'READ_ONLY' | 'USE_ONLY' | 'MANAGE' required

Tunnel agent access level

idinteger required

The ID of the permission set

type'DEVELOPER' | 'READ_ONLY' | 'CUSTOM' | 'PROJECT_MANAGER'

The type of the permission set