Update file request

PUT https://{{api.box.com}}/2.0/file_requests/:file_request_id

Updates a file request. This can be used to activate or

https://developer.box.com/reference/put-file-requests-id

Request Body

{"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"}

HEADERS

KeyDatatypeRequiredDescription
if-matchnumberEnsures 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. | | Content-Type | string | | |

RESPONSES

status: OK

{"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"}