Link environment to server

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

Link a server environment. Requires project.runtime.manage.

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 linked
400Invalid input
401Unauthorized
403Forbidden
404Server or environment not found
500Server error