Prompts
Archive a Prompt
Changed onArchives a specific prompt container, setting status to 'archived'. The prompt still exists in the system and people can call it and use it, so a prompt is never deleted. Requires Org Admin or Team Admin privileges (GitHub repo owner model). Team Editors and Team Members are not authorized to archive prompts.
post/v1/prompts/{id}/archive
Request
- Base URL: http://localhost:3000
- URL: http://localhost:3000/v1/prompts/{id}/archive
- Auth: HTTP bearer
Path parameters
idstring uuid required
The unique UUID of the prompt to archive.
Response
Prompt successfully archived
Changes
- breaking
removed the required property
/from the response with the status - info
added the required property
/to the response with the status
- breaking
- info
the endpoint scheme security
ApiKeyAuthwas removed from the API
- info