cURL
curl --request DELETE \ --url http://localhost:3000/api/models/{modelId}/actions/{actionId} \ --header 'Authorization: Bearer <token>'
{ "success": true }
Deletes the script file associated with a specific action and moves it to trash
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the model
ID of the action
Script deleted successfully
The response is of type object.
object