Skip to main content
DELETE
/
prompts
/
{id}
cURL
curl --request DELETE \
  --url https://www.greenflash.ai/api/v1/prompts/{id} \
  --header 'Authorization: Bearer <token>'
{
  "promptId": "123e4567-e89b-12d3-a456-426614174000",
  "archivedAt": "2025-10-03T15:30:00Z"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

The prompt ID to archive

Response

Prompt archived successfully

promptId
string<uuid>
required

The archived prompt ID.

archivedAt
string
required

ISO 8601 timestamp when archived.

externalPromptId
string

The external prompt ID.