Skip to main content
DELETE
Unpublish an environment

Authorizations

Authorization
string
header
required

MCPJam API key (sk_…). Create one at Settings → API keys. Guest sessions cannot use the API, and API keys cannot manage other API keys.

Path Parameters

projectId
string
required

ID of the hosted project that contains the server.

environmentId
string
required

Project environment ID, as returned by the project's environment list.

Response

The scenario was removed (or there was none).

environmentId
string
required
deleted
boolean
required

False when the environment had no scenario. NOT an error — unpublishing something already unpublished is a no-op.

id
string