Update a file resource from a transfer object

put/files/{fileId}

Updates a file resource using a transfer object payload.

Request Samples

Response Samples

1{
2 "id": "7d6a8d8d-2fd1-4f66-b2cd-2bf90a0f71f1",
3 "name": "simpleText.txt",
4 "description": "Updated from transfer",
5 "createdBy": "sasdemo",
6 "creationTimeStamp": "2026-07-01T09:12:31.000Z",
7 "modifiedBy": "sasdemo",
8 "modifiedTimeStamp": "2026-07-01T09:16:42.000Z",
9 "version": 2
10}

Path Parameters

NameTypeRequiredDescription
fileId
string
true

The identifier of the file resource to update.

Request Body

Transfer object representation used for export and import operations.

NameTypeRequiredDescription
id
string
false
mcId
string
false
summary
File Resource Summary
false

A generic summary representation of a file.

content
string
false

Encoded file transfer payload.

fileServiceContent
string
false

URI reference to file service content used for transfer.

state
string
false
contentSourceLocation
string
false
connectors
array [Transfer Object Connector]
false

Connector details that describe transfer relationships to related resources.

substitutions
object
false
links
array [link]
false

A link to a related operation or resource.

version
integer
false

Responses

StatusMeaningDescription
200OK

The request succeeded. The file resource was updated from the transfer object.

Schema
400Bad Request

The request was not valid.

Schema
404Not Found

No file resource exists for the specified identifier.

Schema