Docs
Update File
PUT /drives/{eventId}/files/{fileId}
PUT
/drives/{eventId}/files/{fileId}Required Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
| Event token | x-Event-Token | Optional | Run **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually. |
Updates the metadata of an existing file. For Deliverable type files, the assignedTo and dueDate fields can also be updated. Requires File.* or File.Edit permission on the file.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| driveId | Guid | Required | The event ID. |
| fileId | Guid | Required | The file ID. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Required | Updated display name. Must not be empty. |
| description | string | Optional | Updated description. |
| path | string | Required | Updated parent path. Use this to move the file to a different folder. |
| assignedTo | Guid | Optional | Updated collaborator ID. Only applied when the file type is `Deliverable`. |
| dueDate | DateTime | Optional | Updated due date. Only applied when the file type is `Deliverable`. |
Response
200 OK — No response body.
Error Codes
| Code | HTTP Status | Description |
|---|---|---|
UNAUTHORIZED | 401 | Missing or invalid token, or insufficient permissions (File.* or File.Edit required). |
NOT_FOUND | 404 | File not found, or assignedTo collaborator does not exist. |
BAD_REQUEST | 400 | Empty name or other invalid arguments. |