await unkey.apis.delete({ apiId: "api_123" });

Request

apiId
string
required

The id of the api to be deleted.

Response

No response, but if no error is returned the API has been deleted successfully.

await unkey.apis.delete({ apiId: "api_123" });