diff --git a/docs/api-reference/endpoint/delete-all-actions.mdx b/docs/api-reference/endpoint/delete-all-actions.mdx index 976a94d38..fbbc1dbc8 100644 --- a/docs/api-reference/endpoint/delete-all-actions.mdx +++ b/docs/api-reference/endpoint/delete-all-actions.mdx @@ -1,52 +1,3 @@ --- -title: "Delete all actions" -api: "DELETE https://api-v2.opencopilot.so/backend/actions/bot/:id" -description: "Delete all actions from a copilot by ID" +openapi: delete /actions --- - - -This endpoint points to the (v2) version of the API. The (v2) version of the API is the latest version and is recommended for all new development. Please update your code to use the (v2) version of the API. - - - -### Body - - - The uuid of the copilot - - -### Headers - - - application/json - - - - Bearer YOUR_TOKEN - - -### Response - - - Indicates whether the call was successful. - - - - -```bash Example Request -curl --location --request DELETE 'https://api-v2.opencopilot.so/backend/actions/bot/:id' \ ---header 'Accept: application/json' \ ---header 'Authorization : Bearer YOUR_TOKEN' -``` - - - - - -```json Response -{ - "message": "All actions deleted successfully" -} -``` - -