Terms of service
Update terms of service
Changed onUpdates a specific terms of service.
put/terms_of_services/{terms_of_service_id}
Request
- Base URLhttps://api.box.com/2.0
- URLhttps://api.box.com/2.0/terms_of_services/{terms_of_service_id}
- AuthOAuth 2Authorization code: https://account.box.com/api/oauth2/authorizeToken URL: https://api.box.com/oauth2/token
Path parameters
terms_of_service_idstring required
The ID of the terms of service.
Request body
Example request
{
"status": "enabled",
"text": "By collaborating on this file you are accepting..."
}Response
Returns an updated terms of service object.
Example response
{
"id": "11446498",
"type": "terms_of_service",
"status": "enabled",
"enterprise": {
"id": "11446498",
"type": "enterprise",
"name": "Acme Inc."
},
"tos_type": "managed",
"text": "By using this service, you agree to ...",
"created_at": "2012-12-12T10:53:43-08:00",
"modified_at": "2012-12-12T10:53:43-08:00"
}Changes
- warning
added the new
unprocessable_entityenum value to theresponse property for the response status
- warning