Mangools/API

Delete prompts

Delete one or more monitoring prompts across monitors in a single bulk call.

Request body:

  • prompt_ids — non-empty array of prompt IDs to delete

Remaining prompts on the affected monitors continue collecting responses on the next scheduled run. The response returns deleted_count.

DELETE
/aiwatcher/prompts

Authorization

ApiKeyAuth
x-access-token<token>

API token issued for your Mangools account, sent as an API key in the x-access-token HTTP header. This is NOT a standard RFC 6750 Authorization: Bearer <token> header. Auto-generated clients should be configured to send the token in x-access-token accordingly.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X DELETE "https://api.mangools.com/v3/aiwatcher/prompts" \  -H "Content-Type: application/json" \  -d '{    "prompt_ids": [      "string"    ]  }'
{
  "deleted_count": 0
}
{
  "error": {
    "type": "AuthError",
    "message": "Invalid API Key"
  }
}
{
  "error": {
    "type": "ValidationError",
    "message": "Your request is invalid",
    "errors": [
      "Your request is invalid"
    ]
  }
}