curl --request PUT \
--url https://documents.absconsulting.com/v1/files/{file_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'{
"id": "<string>",
"object": "<string>",
"filename": "<string>",
"url": "<string>",
"bytes": 123,
"created_at": 123,
"metadata": {}
}Modify a file’s metadata.
This endpoint has a rate limit of 60 requests per user per minute.
curl --request PUT \
--url https://documents.absconsulting.com/v1/files/{file_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'{
"id": "<string>",
"object": "<string>",
"filename": "<string>",
"url": "<string>",
"bytes": 123,
"created_at": 123,
"metadata": {}
}Bearer token for authentication
The ID of the file to use for this request.
A set of up to 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
Successful Response
The ID of the file.
The type of object.
The name of the file, including the extension.
The URL of the file.
The size of the file in bytes.
The timestamp when the file was created.
The metadata of the file.
Show child attributes
Was this page helpful?