Sets the status for a terms of service for a user.
true
Whether the user has accepted the terms.
The terms of service to set the status for.
"1232132"
The ID of terms of service
"terms_of_service"
The type of object.
Value is always terms_of_service
The user to set the status for.
"3423423"
The ID of user
"user"
The type of object.
Value is always user
Returns a terms of service status object.
An unexpected client error.
curl -i -X POST "https://api.box.com/2.0/terms_of_service_user_statuses" \
-H "authorization: Bearer <ACCESS_TOKEN>" \
-H "content-type: application/json" \
-d '{
"tos": {
"type": "terms_of_service",
"id": "1232132"
},
"user": {
"type": "user",
"id": "3423423"
},
"is_accepted": true
}'
{
"id": "11446498",
"type": "terms_of_service_user_status",
"created_at": "2012-12-12T10:53:43-08:00",
"is_accepted": true,
"modified_at": "2012-12-12T10:53:43-08:00",
"tos": {
"id": "11446498",
"type": "terms_of_service"
},
"user": {
"id": "11446498",
"type": "user",
"login": "ceo@example.com",
"name": "Aaron Levie"
}
}