Prompts

Delete a prompt version

Changed on

Deletes the version. Deleting the deployed version leaves the prompt with no live version, so deploy another version first.

delete/api/prompts/{prompt_id}/versions/{version}/

Request

  • Base URL
    https://api.respan.ai
  • URL
    https://api.respan.ai/api/prompts/{prompt_id}/versions/{version}/
  • Auth
    • HTTP bearer
    • or HTTP bearer

Path parameters

prompt_idstring required

The unique prompt identifier.

versioninteger required

The prompt version number.

Response

No content.

Changes

    • breaking

      removed the success response with the status

    • info

      api operation id prompts_deletePromptVersion removed and replaced with deletePromptVersion

    • info

      the endpoint scheme security DashboardJwt was added to the API

    • info

      api tag Prompts added

    • info

      api tag prompts removed

    • info

      added the success response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      added the required property to the response with the status