메인 콘텐츠로 건너뛰기
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.