Delete List
Route
/v2/lists/{list_id}
Description
Delete a policy configuration list. This operation permanently removes the list and cannot be undone. Lists that are currently in use by policies cannot be deleted.
Method
DELETE
Inputs
| Parameter | Type | Required | Description |
|---|---|---|---|
list_id | string | Yes | Unique identifier of the list to delete |
Path Parameters
- list_id: The unique identifier of the list (provided in the URL path)
Request Example
DELETE /v2/lists/list-123
Output
| Field | Type | Description |
|---|---|---|
deleted | boolean | Confirmation that the list was deleted |
list_id | string | ID of the deleted list |
Rate Limit
- 60 requests per minute per API key
- 5 concurrent requests per endpoint
Example Response
{
"deleted": true,
"list_id": "list-123"
}
Usage Notes
- Lists that are referenced by active policies cannot be deleted
- Remove the list from all policies before attempting deletion
- This operation cannot be undone - consider exporting list values before deletion