Memory Store と Identity および Template のマウントを解除します。
Memory Store と
Identity レベルの Service Account Token は自身の Identity のみ操作できます。別の Identity を操作すると
HTTP 200 OK
(identity, template) のマウントを解除します。この組み合わせの新しい Session には Store がマウントされなくなります。既存の Session、Store 本体と Memory エントリには影響しません。
デフォルト Store を解除すると、現在の (identity, template) のデフォルト Store 自動作成も停止します。明示的なマウントの解除では、自動作成ポリシーは変わりません。
パス
DELETE /api/v1/forward/identities/{identity_id}/templates/{template_id}/memory_stores/{memory_store_id}
ヘッダー
| ヘッダー | 必須 | 説明 |
|---|---|---|
Authorization | はい | Bearer <PAT, admin SAT, or SAT for this Identity> |
403 が返されます。
パスパラメータ
| パラメータ | 型 | 必須 | 説明 |
|---|---|---|---|
identity_id | string | はい | Identity ID(idn_...)。 |
template_id | string | はい | Template ID(tmpl_...)。 |
memory_store_id | string | はい | マウント解除する Memory Store ID(memstore_...)。 |
リクエスト例
レスポンス例
HTTP 200 OK
レスポンスフィールド
| フィールド | 型 | 説明 |
|---|---|---|
id | string | マウント解除した Memory Store の ID。 |
type | string | 常に memory_store_binding_deleted。Store 削除時の memory_store_deleted と異なり、この API はマウントのみを解除し、Store 本体は残します。 |
deleted | boolean | マウントが解除されたかどうか。 |
エラー
| HTTP | Type | 発生条件 |
|---|---|---|
| 400 | invalid_request_error | パスパラメータが無効です。 |
| 401 | authentication_error | 認証トークンがないか無効です。 |
| 403 | permission_error | Identity レベルの SAT が別の Identity を操作しようとしました。 |
| 404 | not_found_error | Identity または Template が存在しないか、この (identity, template) に Store の有効なマウントがありません。 |
| 500/502/503 | api_error | Forward または依存サービスでエラーが発生しました。 |