メインコンテンツまでスキップ

Replace a template group's access grants.

POST/api/v1/workflow-template-groups/{workflow_template_group_id}/access-grants/replaceworkflow_setup:write
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

Sends the complete set of users and user groups that may see the group. An empty set makes the group visible to everyone. If-Match is honoured. The answer is the new set.

スコープworkflow_setup:write
非同期いいえ
MCP ツールreplace_workflow_template_group_access_grants
Portal の権限manage_template_group_security

パラメーター​

名前場所型必須説明
workflow_template_group_idpathstring必須
Docwize-Versionheaderstring (date)任意
If-Matchheaderstring任意

リクエスト本文​

Content-Type型
application/jsonWorkflowTemplateGroupAccessGrantSetInput

応答​

ステータス説明本文
200Success.application/json WorkflowTemplateGroupAccessGrantSet または object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
412precondition_failedapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

WorkflowTemplateGroupAccessGrant​

フィールド型必須説明
principalobject または object または object必須A user ({type: user, user_id}) or a user group ({type: group, group_id}) that may see the group's templates.

WorkflowTemplateGroupAccessGrantInput​

フィールド型必須説明
principalobject または object任意A user ({type: user, user_id}) or a user group ({type: group, group_id}) that may see the group's templates.

WorkflowTemplateGroupAccessGrantSet​

フィールド型必須説明
itemsWorkflowTemplateGroupAccessGrant の配列必須The complete set. An empty list makes the group visible to everyone.

WorkflowTemplateGroupAccessGrantSetInput​

フィールド型必須説明
itemsWorkflowTemplateGroupAccessGrantInput の配列必須The complete set. An empty list makes the group visible to everyone.