Accept terms of service for a company user

POST {{baseUrl}}/v1/partner_managed_companies/:company_uuid/accept_terms_of_service

Accept the Gusto Embedded Payroll's Terms of Service. The user must have a role in the company in order to accept the Terms of Service.

scope: terms_of_services:write

Request Body

{"email"=>"<string>", "ip_address"=>"<string>", "external_user_id"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
X-Gusto-API-VersionstringDetermines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;latest_terms_accepted&quot;:true}