Prompts

Archive a Prompt

Archives 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

Path parameters

idstring uuid required

The unique UUID of the prompt to archive.

Response

Prompt successfully archived

Changes

Changed in 3 of the 18 revisions of this API.13

  • bed7a47c6f2511See the full diff
    • removed the required property / from the response with the status

      response-required-property-removed

    • added the required property / to the response with the status

      response-required-property-added

    • the endpoint scheme security ApiKeyAuth was removed from the API

      api-security-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added