Deletes several API keys. Requires secret:write or secret.write.
Request
DELETE /secret
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
ids | array | Yes | Numeric ids. Must be an array (ids[] query or JSON body). |
Example Request
DELETE /secret?ids[]=2&ids[]=3
Response
{
"ok": {
"2": true,
"3": true
}
}If ids is not an array:
{
"ok": false,
"message": "ids has to be an array."
}
