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 RolesRoleMembershipsDestroyInput = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
    id: Schema.String.pipe(T.PathParam()),
    organization_id: Schema.String.pipe(T.PathParam()),
    role_id: Schema.String.pipe(T.PathParam()),
}).pipe(T.Http({
    method: "DELETE",
    path: "/api/organizations/{organization_id}/roles/{role_id}/role_memberships/{id}/",
}));
// Output Schema
export const RolesRoleMembershipsDestroyOutput = 
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
// The operation
/**
 *
 * @param id - A UUID string identifying this role membership.
 */
export const rolesRoleMembershipsDestroy = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    inputSchema: RolesRoleMembershipsDestroyInput,
    outputSchema: RolesRoleMembershipsDestroyOutput,
    errors: [Forbidden, NotFound],
}));
//# sourceMappingURL=rolesRoleMembershipsDestroy.js.map