メインコンテンツへスキップ
DELETE
/
api
/
v1
/
policies
/
{id}
Delete Policy
curl --request DELETE \
  --url https://api.agentwallex.com/api/v1/policies/{id} \
  --header 'X-API-Key: <api-key>'
{
  "id": "<string>",
  "deleted": true
}

パスパラメータ

id
string
必須
削除するポリシー ID(例:pol_abc123)。
ポリシーを削除すると、その制約は直ちに解除されます。セキュリティを維持するために、他のポリシーが設定されていることをご確認ください。

curl -X DELETE https://api.agentwallex.com/api/v1/policies/pol_abc123 \
  -H "X-API-Key: awx_your_api_key"

承認

X-API-Key
string
header
必須

API key authentication. Keys are prefixed with awx_.

パスパラメータ

id
string
必須

The policy ID to delete (e.g., pol_abc123).

レスポンス

Policy deleted successfully.

id
string

The deleted policy ID.

deleted
boolean

Confirmation of deletion.