API reference
acceptTermsOfService
Required permission: Authenticated
acceptTermsOfService(
id: ID!
): AcceptTermsOfServiceResult!Arguments
| Name | Type | Description |
|---|---|---|
id |
ID! |
Returns
Example
mutation AcceptTermsOfService($id: ID!) {
acceptTermsOfService(id: $id)
}curl https://api.thelocoapp.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LOCO_API_KEY" \
-d '{"query": "mutation { acceptTermsOfService(...) { __typename } }"}'