Изменяет роль в пространстве.
PATCH /cwm/public/api/v1/workspaces/{workspace}/roles/{roleId}
Ключ или идентификатор пространства
/cwm/public/api/v1/workspaces/KEY/workitems
/cwm/public/api/v1/workspaces/f5ce1753-ced5-4992-beb9-7408c1a56cf8/workitems
Идентификатор роли
f5ce1753-ced5-4992-beb9-7408c1a56cf8
{"name": "string","permissions": ["WorkspaceContentRead"]}
Наименование роли
name: Название роли
Список разрешений роли
permissions: [ "WorkspaceContentRead" ]
Возможные значения:
WorkspaceContentRead, WorkspaceEdit, WorkspaceAccessEdit,
WorkspaceIntegrationsEdit, WorkspaceDelete, WorkspaceWorkitemTypesEdit,
WorkspaceAttributesEdit, WorkspaceWorkflowsEdit, WorkspaceAutomationRulesEdit,
WorkspaceFolderCreate, WorkspaceFolderEdit, WorkspaceFolderDelete,
WorkspaceViewCreate, WorkspaceViewEdit, WorkspaceViewDelete, WorkitemCreate,
WorkitemAssignEdit, WorkitemStatusEdit, WorkitemStatusEditForce,
WorkitemAttributesEdit, WorkitemAttachmentsCreate, WorkitemAttachmentsDelete,
WorkitemCommentsCreate, WorkitemCommentsEdit, WorkitemCommentsDelete,
WorkitemCommentsForceDelete, WorkitemRelationsCreate, WorkitemRelationsDelete,
WorkitemDelete, WorkitemMove, WorkitemTimeTrackCreateEditDelete,
WorkitemTimeTrackEditDeleteForce, WorkspaceTimeTrackReport, WorkspaceExport,
ExtensionsEdit, WorkitemSharing.
{"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6","name": "string","author": {"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6","displayName": "string","username": "string","email": "string"},"isSystem": true,"permissions": ["WorkspaceContentRead"]}
Описание модели роли представлена в разделе Описание возвращаемой модели роли
Технический писатель: Белова Ирина