Updates a file with a specified ID.
Note: Files can only be uploaded by POST request. For more information, see the Create a file operation.
File resource.
File updated.
Unauthorized access. Invalid credentials used.
Access forbidden.
Resource not found.
Invalid data sent.
{- "name": "string",
- "extension": "string",
- "description": "string",
- "sourceType": "upload",
- "tags": [
- "string"
], - "isPublic": true
}
{- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "name": "string",
- "extension": "string",
- "description": "string",
- "sourceType": "upload",
- "tags": [
- "string"
], - "mime": "image/png",
- "size": 0,
- "width": 0,
- "height": 0,
- "sha1": "string",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "isPublic": true,
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
]
}