cURL
curl --request POST \ --url https://stashy.example.com/api/v1/files/{id}/unpublish \ --header 'Authorization: Bearer <token>'
{}
Remove public access from a file.
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