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

Update a permission set (JSON Merge Patch).

PATCH/api/v1/permission-sets/{permission_set_id}permissions:admin
注記

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

Renames a set or changes its description or permissions (permission_ids replaces the whole list). Renaming to another set's name is refused (409 already_exists). When the permissions change, everyone in a group that holds the set sees it on their next request. Every added permission must be one you currently hold unless you have Delegate Permissions Beyond Own Access, regardless of which groups hold the set.

スコープpermissions:admin (機密性の高いスコープ)
非同期いいえ
MCP ツールupdate_permission_set
Portal の権限edit_permission_sets

パラメーター​

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

リクエスト本文​

Content-Type型
application/jsonPermissionSetPatchInput
application/merge-patch+jsonPermissionSetPatchInput

応答​

ステータス説明本文
200Success.application/json PermissionSet または 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
409already_existsapplication/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 のコードです。各コードからそのページに移動できます。

スキーマ​

PermissionSet​

フィールド型必須説明
default_keystring または null必須The Docwize default this set was created from; null for a set an administrator made.
descriptionstring または null必須
groupsPermissionSetGroup の配列必須The groups that hold the set, by name.
member_countinteger必須Distinct live users across the groups: a user in two of them counts once. ≥ -2147483648; ≤ 2147483647
namestring必須
permission_idsstring の配列必須The permissions in the set, in key order.
permission_set_idstring必須

PermissionSetGroup​

フィールド型必須説明
group_idstring必須
group_namestring必須
member_countinteger必須The group's live users. ≥ -2147483648; ≤ 2147483647

PermissionSetGroupInput​

フィールド型必須説明
group_idstring任意
group_namestring任意
member_countinteger任意The group's live users. ≥ -2147483648; ≤ 2147483647

PermissionSetPatchInput​

フィールド型必須説明
default_keystring または null任意
descriptionstring または null任意
groupsPermissionSetGroupInput の配列 または null任意
member_countinteger または null任意
namestring または null任意
permission_idsstring の配列 または null任意
permission_set_idstring または null任意