/api/orgs/{org_id}/identities/{identity_id}グループの名前変更、有効化、移動
display_name、description、active、parent_identity_idを変更します(nullでグループを最上位にします。配下のグループもまとめて移動します)。循環、別の組織の親、既定のグループへの親の指定、4段を超える階層は422になります。組織管理者またはプロビジョニングキーが必要です。
認証: AuthorizationヘッダーにBearer形式のAPIキー
パスパラメーター
org_idstring必須お客様の組織ID(uuid)。
GET /api/whoamiで取得できます。identity_idstring必須アイデンティティID。
リクエストボディ
display_namestring | nulldescriptionstring | nullactiveboolean | nullfalseでグループを無効にします。既定のグループは無効にできません。
parent_identity_idstring | nullこのグループの配下へ移動します。nullで最上位にします。省略すると変更しません。
レスポンス
200更新しました。
レスポンス
identity_idstring必須display_namestring必須descriptionstring | null必須activeboolean必須falseの場合、その下で新しいキーを発行できなくなります。既存のキーは失効するまで引き続き利用できます。
is_defaultboolean必須組織の既定のアイデンティティ(ダッシュボードで発行したキーを保持)。
created_atstring必須updated_atstring必須parent_identity_idstring | null親グループ。最上位のグループではnull。
monthly_budgetobject | nullmonthly_budget_nano_usdを指定して作成した場合だけ設定される、そのグループ予算。いずれか
object
budget_idstring必須periodstring必須YYYY-MM、または定期の場合は*。scope_kindenum必須keysは共有予算、keyは以前のキー単位の予算です。api_key_idstring | null必須identity_idstring | null必須alias_idstring | null必須pool_idstring | null必須deployment_idstring | null必須limit_nano_usdinteger必須上限(整数のnano-USD)。0は厳格なゼロ上限です。
reserved_nano_usdinteger必須処理中(整数のnano-USD)。
settled_nano_usdinteger必須今月の支出(整数のnano-USD)。
remaining_nano_usdinteger必須整数のnano-USD。
created_by_kindenum必須created_by_api_key_idstring | null必須キーが行を書き込んだ場合の、そのキー。
namestring | null共有予算のみ。
reset_periodenum共有予算のみ。
api_key_idsarray | null共有予算のみ。予算を使うキー。
401APIキーがない、不明、または失効しています。
レスポンス
errorstring必須人が読めるメッセージ。
codestringエンドポイントが定義している場合の、安定した機械可読の理由(例:
pro_required)。actionstringエンドポイントが定義している場合の、安定した対処アクション。
detailsobject呼び出し元が対処するために必要な、顧客に提示して安全な文字列情報(推奨される識別子など)。
403キーがプロビジョニングキーではない(推論キーは読み取りを含めて拒否されます)か、顧客プランキーです。
レスポンス
errorstring必須人が読めるメッセージ。
codestringエンドポイントが定義している場合の、安定した機械可読の理由(例:
pro_required)。actionstringエンドポイントが定義している場合の、安定した対処アクション。
detailsobject呼び出し元が対処するために必要な、顧客に提示して安全な文字列情報(推奨される識別子など)。
404不明な組織またはアイデンティティです。
レスポンス
errorstring必須人が読めるメッセージ。
codestringエンドポイントが定義している場合の、安定した機械可読の理由(例:
pro_required)。actionstringエンドポイントが定義している場合の、安定した対処アクション。
detailsobject呼び出し元が対処するために必要な、顧客に提示して安全な文字列情報(推奨される識別子など)。
409既定のアイデンティティを無効にしようとしました。
レスポンス
errorstring必須人が読めるメッセージ。
codestringエンドポイントが定義している場合の、安定した機械可読の理由(例:
pro_required)。actionstringエンドポイントが定義している場合の、安定した対処アクション。
detailsobject呼び出し元が対処するために必要な、顧客に提示して安全な文字列情報(推奨される識別子など)。
422更新するフィールドがない、親が不正、またはボディの検証に失敗しました。
リクエスト
curl -X PATCH 'https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/identities/acme-support' \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"display_name": "Acme support (EU)"
}'レスポンス
{
"identity_id": "acme-support",
"display_name": "Acme support (EU)",
"description": "Customer support agent",
"active": true,
"is_default": false,
"created_at": "2026-11-02T09:14:00Z",
"updated_at": "2026-11-18T15:01:00Z"
}https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/identities/acme-support