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

Attach a routing policy to a user.

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

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

Attaches the policy to the user at the next priority. A policy already attached is refused (409 already_exists).

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

パラメーター​

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

応答​

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

スキーマ​

PolicyAttachment​

フィールド型必須説明
delegation_policy_idstring必須
priorityinteger または null必須
user_idstring必須