Remove server

Prerequisites

Make sure CoScale CLI is installed.

Steps

  • Go to your dashboard, Users -> Access Tokens and copy the token for the agent you wish to remove.

  • Use your application ID and the token from the previous step to list all the servers on that agent:
    coscale-cli server list --app-id=<app-id> --access-token=<access-token>

  • Copy the ID of the server you wish to remove and use it in the “server delete” command:
    coscale-cli server delete --app-id=<app-id> --access-token=<access-token> --id=<server-id>

  • Once all servers for an agent have been deleted, the agent can be removed as well. Go to your dashboard, Datasources -> Agent and select “Delete agent” from the menu:

Delete agent