import * as Schema from "effect/Schema";
import { API } from "../../client.js";
import * as T from "../../traits.js";
import { Forbidden, NotFound } from "../../errors.js";
// Input Schema
export const DestroyInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    id: Schema.String.pipe(T.PathParam()),
}).pipe(T.Http({ method: "DELETE", path: "/api/organizations/{id}/" }));
// Output Schema
export const DestroyOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
// The operation
/**
 *
 * @param id - A UUID string identifying this organization.
 */
export const destroy = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    inputSchema: DestroyInput,
    outputSchema: DestroyOutput,
    errors: [Forbidden, NotFound],
}));
//# sourceMappingURL=destroy.js.map