Create terms of service status for new user
POST https://{{api.box.com}}/2.0/terms_of_service_user_statuses
Sets the status for a terms of service for a user.
https://developer.box.com/reference/post-terms-of-service-user-statuses
Request Body
{"tos"=>{"type"=>"terms_of_service", "id"=>"1232132"}, "user"=>{"type"=>"user", "id"=>"3423423"}, "is_accepted"=>true}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
{"id":"11446498","type":"terms_of_service_user_status","tos":{"id":"11446498","type":"terms_of_service"},"user":{"id":"11446498","type":"user","name":"Aaron Levie","login":"ceo@example.com"},"is_accepted":true,"created_at":"2012-12-12T10:53:43-08:00","modified_at":"2012-12-12T10:53:43-08:00"}