v2

Swagger 2.02026-08-01331211921.0 KB
Projects

Update an explicit user permission for a project

Updates the explicit user permission for a given user and project. The selected user must be a member of the workspace, and cannot be the workspace owner.

Only users with admin permission for the project may access this resource.

Due to security concerns, the JWT and OAuth authentication methods are unsupported. This is to ensure integrations and add-ons are not allowed to change permissions.

Permissions can be:

  • admin
  • create-repo
  • write
  • read
put/workspaces/{workspace}/projects/{project_key}/permissions-config/users/{selected_user_id}

Request body

permission'read' | 'write' | 'create-repo' | 'admin' required

Response

Explicit user permission updated

typestring required
permission'read' | 'write' | 'create-repo' | 'admin' | 'none'