Skip to main content
PATCH
/
prompt
Toggle Prompt Status
curl --request PATCH \
  --url https://app.mentionpilot.ai/api/v1/prompt \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt_id": 42
}
'
{
  "success": true,
  "prompt_id": 42,
  "active": "N"
}

Documentation Index

Fetch the complete documentation index at: https://help.mentionpilot.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Prompt to toggle

prompt_id
integer
required

ID of the prompt to toggle

Example:

42

Response

Prompt status toggled successfully

success
boolean
Example:

true

prompt_id
integer
Example:

42

active
enum<string>

New active status after toggle

Available options:
Y,
N
Example:

"N"