UNPKG

@microsoft/msgraph-sdk-groups

Version:
28 lines 2.05 kB
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to call the unarchive method. */ export interface UnarchiveRequestBuilder extends BaseRequestBuilder<UnarchiveRequestBuilder> { /** * Restore an archived team. This API restores users' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which might occur subsequent to a response from this API. * @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/team-unarchive?view=graph-rest-1.0|Find more info here} */ post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * Restore an archived team. This API restores users' ability to send messages and edit the team, abiding by tenant and team settings. A Team is archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which might occur subsequent to a response from this API. * @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 UnarchiveRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/team/unarchive"; /** * Metadata for all the requests in the request builder. */ export declare const UnarchiveRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map