File requests
Update file request
Updates a file request. This can be used to activate or deactivate a file request.
put/file_requests/{file_request_id}
Path parameters
file_request_idstring required
The unique identifier that represent a file request.
The ID for any file request can be determined by visiting a file request builder in the web application and copying the ID from the URL. For example, for the URL https://*.app.box.com/filerequest/123 the file_request_id is 123.
Headers
if-matchstring
Ensures this item hasn't recently changed before making changes.
Pass in the item's last observed etag value into this header and the endpoint will fail with a 412 Precondition Failed if it has changed since.
Request body
Example request
{
"title": "Please upload required documents",
"description": "Please upload required documents",
"status": "active",
"is_email_required": true,
"is_description_required": true,
"expires_at": "2020-09-28T10:53:43-08:00"
}Response
Returns the updated file request object.
Example response
{
"id": "42037322",
"type": "file_request",
"title": "Please upload documents",
"description": "Following documents are requested for your process",
"status": "active",
"is_email_required": true,
"is_description_required": true,
"expires_at": "2020-09-28T10:53:43-08:00",
"folder": {
"id": "12345",
"etag": "1",
"type": "folder",
"sequence_id": "3",
"name": "Contracts"
},
"url": "/f/19e57f40ace247278a8e3d336678c64a",
"etag": "1",
"created_by": {
"id": "11446498",
"type": "user",
"name": "Aaron Levie",
"login": "ceo@example.com"
},
"created_at": "2020-09-28T10:53:43-08:00",
"updated_by": {
"id": "11446498",
"type": "user",
"name": "Aaron Levie",
"login": "ceo@example.com"
},
"updated_at": "2020-09-28T10:53:43-08:00"
}