UNPKG

@microsoft/msgraph-beta-sdk-groups

Version:
28 lines 1.75 kB
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to call the removeEmail method. */ export interface RemoveEmailRequestBuilder extends BaseRequestBuilder<RemoveEmailRequestBuilder> { /** * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/channel-removeemail?view=graph-rest-beta|Find more info here} */ post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. * @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 RemoveEmailRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/primaryChannel/removeEmail"; /** * Metadata for all the requests in the request builder. */ export declare const RemoveEmailRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map