Skip to main content
DELETE
/
api
/
servers
/
{serverId}
Delete server
curl --request DELETE \
  --url https://mcp.runalloy.com/api/servers/{serverId} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Server deleted",
  "serverId": "production-server-a1b2c3d4"
}

Authorizations

Authorization
string
header
required

Use either an Alloy API key or JWT token

Headers

x-alloy-userid
string

User ID (optional with API key)

Path Parameters

serverId
string
required

Server ID

Response

Server deleted successfully

message
string
Example:

"Server deleted"

serverId
string
Example:

"production-server-a1b2c3d4"

I