v1

latestOpenAPI 3.0.12026-08-041753011.2 MB
User

Remove user's manager role

delete/v1/workspaces/{workspaceId}/users/{userId}/roles

Path parameters

workspaceIdstring required

Represents a workspace identifier across the system.

Example:64a687e29ae1f428e7ebe303

Represents a workspace identifier across the system.

userIdstring required

Represents a user identifier across the system.

Example:5a0ab5acb07987125438b60f

Represents a user identifier across the system.

Request body

entityIdstring required

Represents an entity identifier across the system.

role'WORKSPACE_ADMIN' | 'TEAM_MANAGER' | 'PROJECT_MANAGER' required

Represents a valid role.

sourceType'USER_GROUP'

Optional field used to indicate that the target of the operation is a user group, in which case the value USER_GROUP should be used, alongside a valid user group ID for the entityId field. If omitted, a user ID should be used for the entityId field.

Example request

{
  "entityId": "60f924bafdaf031696ec6218",
  "role": "TEAM_MANAGER",
  "sourceType": "USER_GROUP"
}

Response

No Content