Skip to main content
PUT
Update File

Authorizations

Authorization
string
header
required

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

Headers

X-Project-ID
string | null

Path Parameters

resource_uri
string
required

File resource URI

Body

application/json

Request body for updating file metadata.

Note: resource_uri, key, content_type, and size cannot be changed.

name
string | null
Required string length: 1 - 255
description
string | null
Maximum string length: 1000
tags
string[] | null

Response

Successful Response

Full file representation.

resource_uri
string
required
name
string
required
key
string
required
organization_id
string
required
project_id
string
required
owner_id
string
required
deprecated

Deprecated: use created_by instead. Will be removed in a future release.

created_at
string<date-time>
required
updated_at
string<date-time>
required
created_by
string
required
updated_by
string
required
type
string
default:file
content_type
string | null
size
integer | null
description
string | null
tags
string[]