Delete intents (single or multiple)
Delete one or more intents by their IDs. Only intents that have not been sent (notified_at is null) can be deleted. If any of the intents have been sent, the entire operation will fail and return a 422 error with the IDs of sent intents. You can pass a single intent ID in the array to delete just one intent.
Authorizations
X-Auth-TokenstringRequired
Header parameters
X-Auth-TokenstringRequired
API key for authentication
Body
intent_idsstring[]Required
Array of intent IDs to delete
Responses
200
All intents deleted successfully
application/json
400
Bad request - invalid parameters
application/json
401
Unauthorized
404
No valid intents found
application/json
422
Cannot delete intents that have already been sent
application/json
delete
/intents/bulk_destroyLast updated