UNPKG

@microsoft/msgraph-sdk-domains

Version:
30 lines 1.77 kB
import { type Domain } from '@microsoft/msgraph-sdk/models/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to call the verify method. */ export interface VerifyRequestBuilder extends BaseRequestBuilder<VerifyRequestBuilder> { /** * Validate the ownership of a domain. This operation only applies to an unverified domain. For an unverified domain, the isVerified property is false. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<Domain>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/domain-verify?view=graph-rest-1.0|Find more info here} */ post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Domain | undefined>; /** * Validate the ownership of a domain. This operation only applies to an unverified domain. For an unverified domain, the isVerified property is false. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Uri template for the request builder. */ export declare const VerifyRequestBuilderUriTemplate = "{+baseurl}/domains/{domain%2Did}/verify"; /** * Metadata for all the requests in the request builder. */ export declare const VerifyRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map