DELETEhttps://api.spotinst.io/setup/access/policy/{POLICY_ID}?accountId={ACCOUNT_ID}

Deletes an access policy settings.

URL Parameters

Parameter Type Description
ACCOUNT_ID * String

The Spotinst account ID

Example: act-1234cds
POLICY_ID * String

The access policy ID to delete

Example: pol-2344nn
Request

Headers
{
    "Content-Type": "application/json",
    "Authorization": "Bearer ${token}"
}
Response - 200

Headers
{
    "Content-Type": "application/json"
}
Body
Copied!
Downloaded!
{
   "status": {
     "code": 200,
     "message": "OK"
   }
}