Unlink environment from server

http
DELETE /servers/{server_id}/environments/{environment_id}

Unlink a server environment. Requires project.runtime.manage; API keys also need delete scope.

Parameters

NameInRequiredDescription
server_idpathYesID of a server you own. Linking and unlinking require project.runtime.manage on every project currently linked to the server. If none are linked, no project capability is required. Linking also requires project.runtime.manage on the environment’s project. Unlinking also requires API-key delete scope.
environment_idpathYes

Responses

StatusDescription
200Environment unlinked
400Invalid input
401Unauthorized
403Linked-project capability or API-key delete scope denied
404Server not found
500Server error