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

Set the order of a user's routing policies.

POST/api/v1/users/{user_id}/delegation-policies/replaceusers:admin
注記

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

Sends every active policy of the user exactly once, in the order they should be tried: the first becomes priority 1, and priorities stay contiguous. Attaching and detaching stay separate (create_user_delegation_policy, delete_user_delegation_policy): a list that adds or leaves out a policy is 422. If-Match is honoured against the answer's ETag. The answer is the new order. Needs Reorder Delegation Policies and View Delegation Policies.

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

パラメーター​

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

リクエスト本文​

Content-Type型
application/jsonUserDelegationPolicyOrderInput

応答​

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

スキーマ​

UserDelegationPolicyOrderEntryInput​

フィールド型必須説明
delegation_policy_idstring必須

UserDelegationPolicyOrderInput​

フィールド型必須説明
itemsUserDelegationPolicyOrderEntryInput の配列必須Every active policy of the user exactly once, first priority first.

UserDelegationPolicyPriorities​

フィールド型必須説明
itemsUserDelegationPolicyPriority の配列必須

UserDelegationPolicyPriority​

フィールド型必須説明
delegation_policy_idstring必須
priorityinteger必須≥ -2147483648; ≤ 2147483647