bunny-client
Version:
TypeScript API Client for BunnyCDN 🐰
24 lines • 1.04 kB
TypeScript
export interface DeleteStorageZoneRequest {
/**
* User-specific [API Key](https://dash.bunny.net/account/settings)
* @example "cb1a7c68-89a0-462a-9495-13ebd7366cfe"
*/
apiKey?: string;
/**
* IMPORTANT: deleted buckets cannot be re-created with the same name
*
* You can list deleted buckets with the `includeDeleted` option when using `listFiles`
*
* The Storage Zone ID that should be deleted
* @example 270299
*/
id: number;
}
export type DeleteStorageZoneResponse = void;
export declare const deleteStorageZone: import("untypeable/dist/client-ca591958").g<DeleteStorageZoneRequest, void>;
export declare const deleteStorageZoneEndpoints: {
readonly "DELETE /storagezone/:id": "DELETE /storagezone/:id";
readonly deleteStorageZone: "deleteStorageZone";
};
export declare function deleteStorageZoneClient(defaultRequestInit: RequestInit, { apiKey, id }: DeleteStorageZoneRequest): Promise<DeleteStorageZoneResponse>;
//# sourceMappingURL=deleteStorageZone.d.ts.map