Skip to main content
PATCH
UpdateFile

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
slug
string | null

Human-readable slug used in the file's canonical URL (/{id}/{slug}). An empty string clears it.

Maximum string length: 128
Pattern: ^[A-Za-z0-9._~-]*$

Response

200 - application/json

Success

url
string<uri>

Canonical URL of the file after the update.