Update a file's settings
Update a file's sharing settings: viewer mode, password, downloads, expiry (deleteAt or neverExpire), view limit, email gate, vanity slug, watermark, page range, appearance. Omitted fields keep their value. Owner via files:write, or the file's manage token while anonymous. 403 above plan, 409 slug in use, 410 dead link.
Besides an API key or OAuth token (files:write), this endpoint accepts a manage token as the bearer credential: anonymous uploads return a manageToken bound to the new file, valid for 30 days and only while the file remains unclaimed (a claimed file answers 404 to token callers). Manage-token callers are limited to the free plan's settings; plan-gated fields return 403. The claimToken from the same response is a different credential (it attaches the file to an account) and is never accepted here.
Request
- Base URL: https://everypage.co
- URL: https://everypage.co/api/v1/files/{uuid}/settings
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://everypage.co/oauth/authorize, token URL https://everypage.co/oauth/token, scopes: files:write)
- HTTP bearer
Request body
Response
Settings applied (empty body).
Changes
No recorded changes to this operation across all 1 revision of this API.