cURL
curl --request PATCH \ --url https://server.promptwatch.com/api/v2/prompts/bulk/deactivate \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "ids": [ "3c90c3cc-0d44-4b50-8888-8dd25736052a" ] } '
{ "deactivated": 123 }
Deactivate multiple prompts
API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.
Array of prompt IDs (max 200)
1 - 100
Default Response
Number of prompts deactivated