Skip to Content
put.ioDevelopers
Register an app

Unshare a file

POSThttps://api.put.io/v2/files/{id}/unshare

Path

idintegerRequired

File id

Body

application/x-www-form-urlencoded

sharesstringRequired

Comma-separated share ids from /files/{id}/shared-with, or everyone.

Returns

200

statusstring

Errors

JSON with error_type, error_message, error_id and extra.

400A share id is not an integer.
404File not found.
429Too many requests. Limits are per token and per IP. Wait until X-RateLimit-Reset, then retry.