Skip to main content
DELETE
/
v1
/
regions
/
{region}
/
projects
/
{project}
/
infrastructure
/
servers
/
{id}
Decommission server
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.k0rdent.ai/v1/regions/{region}/projects/{project}/infrastructure/servers/{id}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "error": {
    "code": 123,
    "message": "<string>",
    "details": [
      {}
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer token authentication using OAuth2/OIDC tokens

Path Parameters

region
string
required

Region identifier

project
string
required

Project identifier

id
string<uuid>
required

Unique server identifier (UUID)

Response

Server decommissioned successfully