Skip to main content
Glama

Model Context Protocol Server

deleteresourcesbypublicidop.ts2.24 kB
/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; import { ApiError, ApiError$zodSchema } from "./apierror.js"; import { DeleteResourceByPublicIdsRequestUnion, DeleteResourceByPublicIdsRequestUnion$zodSchema, } from "./deleteresourcebypublicidsrequestunion.js"; import { ExtendedStorageType, ExtendedStorageType$zodSchema, } from "./extendedstoragetype.js"; import { ResourceType, ResourceType$zodSchema } from "./resourcetype.js"; export type DeleteResourcesByPublicIdGlobals = { cloud_name?: string | undefined; }; export const DeleteResourcesByPublicIdGlobals$zodSchema: z.ZodType< DeleteResourcesByPublicIdGlobals, z.ZodTypeDef, unknown > = z.object({ cloud_name: z.string().describe("The cloud name of your product environment.") .optional(), }); export type DeleteResourcesByPublicIdRequest = { resource_type: ResourceType; type: ExtendedStorageType; DeleteResourceByPublicIdsRequest: DeleteResourceByPublicIdsRequestUnion; }; export const DeleteResourcesByPublicIdRequest$zodSchema: z.ZodType< DeleteResourcesByPublicIdRequest, z.ZodTypeDef, unknown > = z.object({ DeleteResourceByPublicIdsRequest: DeleteResourceByPublicIdsRequestUnion$zodSchema, resource_type: ResourceType$zodSchema, type: ExtendedStorageType$zodSchema, }); /** * Resource successfully deleted */ export type DeleteResourcesByPublicIdResponseBody = {}; export const DeleteResourcesByPublicIdResponseBody$zodSchema: z.ZodType< DeleteResourcesByPublicIdResponseBody, z.ZodTypeDef, unknown > = z.object({}).describe("Resource successfully deleted"); export type DeleteResourcesByPublicIdResponse = { ContentType: string; StatusCode: number; RawResponse: Response; object?: DeleteResourcesByPublicIdResponseBody | undefined; api_error?: ApiError | undefined; }; export const DeleteResourcesByPublicIdResponse$zodSchema: z.ZodType< DeleteResourcesByPublicIdResponse, z.ZodTypeDef, unknown > = z.object({ ContentType: z.string(), RawResponse: z.instanceof(Response), StatusCode: z.number().int(), api_error: ApiError$zodSchema.optional(), object: z.lazy(() => DeleteResourcesByPublicIdResponseBody$zodSchema) .optional(), });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kanwardeep007/random-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server