API reference

acceptTermsOfService

Required permission: Authenticated

graphql
acceptTermsOfService(
  id: ID!
): AcceptTermsOfServiceResult!

Arguments

Name Type Description
id ID!

Returns

AcceptTermsOfServiceResult!

Example

graphql
mutation AcceptTermsOfService($id: ID!) {
  acceptTermsOfService(id: $id)
}
bash
curl https://api.thelocoapp.com/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LOCO_API_KEY" \
  -d '{"query": "mutation { acceptTermsOfService(...) { __typename } }"}'