verifyDomain (sdk.gen)

temps · email

Calls the POST /email-domains/{id}/verify endpoint to verify an email domain by ID using bearer auth.

// Source: https://github.com/mperkins0155/temps | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
export const verifyDomain = <ThrowOnError extends boolean = false>(options: Options<VerifyDomainData, ThrowOnError>): RequestResult<VerifyDomainResponses, VerifyDomainErrors, ThrowOnError> => (options.client ?? client).post<VerifyDomainResponses, VerifyDomainErrors, ThrowOnError>({
    security: [{ scheme: 'bearer', type: 'http' }],
    url: '/email-domains/{id}/verify',
    ...options
});

See the full source, get the GitHub permalink, and search 40K more like it.

Get a free API key