Update file details

This call updates the name, the full set metadata, and tags for a specified file.

Files are specified by their IDs, which you can obtain by making the API call to list files in a project.

If you want to update metadata for multiple files, the recommended way is to do it in bulk considering the API rate limit (learn more).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The ID of the file whose details you want to update.

Query Params
fields
array of strings

Selector specifying a subset of fields to include in the response.

fields
Body Params
string

The new name of the file.

metadata
object

The metadata fields and their values that you want to update. This is a dictionary of key-value pairs. The keys and values are strings.

tags
array of strings

The tags you want to update.

tags
Headers
string
required

Your Seven Bridges Platform authentication token. For security reasons, token will not be automatically populated in the generated code sample. Please replace <your-token-here> with your token before executing this call.

Response

Language
LoadingLoading…
Response
Choose an example:
application/json