Skip to content

Update File

Update the specified files. Only the file's description and status can be updated.

Verb PATCH
Endpoint {base-url}/files/
Max Page Size N/A

Request Body

{
  "body": [
    {
      "id": 1,
      "organizationId": 1,
      "description": "update desc2",
      "createdAtUtc": "2022-10-21T09:18:34",
      "machineId": 402,
      "fileKey": "test-key",
      "status": 1
    }
  ]
}

Returns

On Success

The updated file.

Response Body

[
  {
    "id": 1,
    "organizationId": 1,
    "description": "update desc2",
    "createdAtUtc": "2022-10-21T09:18:34",
    "machineId": 402,
    "fileKey": "test-key",
    "status": 1
  }
]