Skip to main content

help.acceptTermsOfService

Accept the new terms of service

func (c *Client) HelpAcceptTermsOfService(ctx context.Context, id DataJSON) (bool, error)

Calling this method

client.Run(ctx, func(ctx context.Context) error {
api := client.API()

res, err := api.HelpAcceptTermsOfService(ctx, id)
if err != nil {
return err
}
_ = res // bool
return nil
})

Parameters

NameTypeRequiredDescription
IDDataJSONyesID of terms of service

Returns

bool

Possible errors

CodeTypeDescription
400DATA_JSON_INVALIDThe provided JSON data is invalid.

References