v1

latestOpenAPI 3.0.2Apache-2.02026-07-142963051.0 MB
Terms of service user statuses

Create terms of service status for new user

Sets the status for a terms of service for a user.

post/terms_of_service_user_statuses

Request body

is_acceptedboolean required

Whether the user has accepted the terms.

Example request

{
  "tos": {
    "type": "terms_of_service",
    "id": "1232132"
  },
  "user": {
    "type": "user",
    "id": "3423423"
  },
  "is_accepted": true
}

Response

Returns a terms of service status object.

idstring required

The unique identifier for this terms of service user status.

type'terms_of_service_user_status' required

The value will always be terms_of_service_user_status.

is_acceptedboolean

If the user has accepted the terms of services.

created_atstring date-time

When the legal item was created.

modified_atstring date-time

When the legal item was modified.

Example response

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