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

Create a permission set.

POST/api/v1/permission-setspermissions:admin
注記

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

Creates a set containing permissions you currently hold, or any known permissions with Delegate Permissions Beyond Own Access. A set whose name another set already has (compared trimmed and ignoring case) is refused (409 already_exists). No group holds a new set, so nobody's permissions change.

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

パラメーター​

名前場所型必須説明
Docwize-Versionheaderstring (date)任意
Idempotency-Keyheaderstring任意max 255

リクエスト本文​

Content-Type型
application/jsonPermissionSetCreateInput

応答​

ステータス説明本文
201Success.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
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409already_exists, idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_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必須

PermissionSetCreateInput​

フィールド型必須説明
descriptionstring または null任意
namestring必須
permission_idsstring の配列必須The complete set of permission_id keys; each appears once.

PermissionSetGroup​

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