cURL
curl --request POST \ --url https://stashy.example.com/v1/files/{id}/unpublish \ --header 'Authorization: Bearer <token>'
{}
Remove public access from a file.
Documentation IndexFetch the complete documentation index at: https://docs.stashy.sh/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.stashy.sh/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Success
The response is of type UnpublishFileResponse · object.
UnpublishFileResponse · object