Delete Prompt Action
(v2)DELETE
Permanently deletes a prompt action, and its evaluation when no other action uses it.
curl -X DELETE "https://api.confident-ai.com/v2/prompts/{promptId}/prompt-actions/{promptActionId}" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"success": true,
"data": {
"id": "<PROMPT-ACTION-ID>"
},
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe API key of your Confident AI project.
Path parameters
promptIdstringRequiredThe unique id of the prompt.
promptActionIdstringRequiredThe unique id of the prompt action.
Response
Delete Prompt Action succeeded.
successbooleanIndicates if the request was successful.
dataobjectA reference to a prompt action.
Show 1 propertyHide 1 property
idstringThis is the unique id of the prompt action.
deprecatedbooleanIndicates if this endpoint is deprecated.