Update external file

http
PUT /projects/{project_reference}/external-files/{provider}/{file_id}

Update external file.

Parameters

NameInRequiredDescription
project_referencepathYesProject slug, UUID, or domain that identifies the project.
providerpathYes
file_idpathYes
if-matchheader

Request body

FieldTypeRequiredDescription
contentstringYesReplacement content; folders cannot be updated. At most 10000000 characters as sent. Send If-Match to refuse a stale write with 409.
content_encodingstringEncoding of content: utf8 (default) or base64.

Responses

StatusDescription
200The updated file.
400Bad request
401Unauthorized
402Payment required
403Forbidden
404Not found
409Conflict
413Payload too large
428Precondition required
429Rate limit exceeded
500Server error
503Service unavailable