Add tags to organize and identify your servers

Assign specific tags to your servers for easier identification and management. This is useful for categorizing servers by purpose, like 'Music Server' or 'AI Services'. The endpoint returns an ID to track the tagging in the system.

Headers

Accept Example
Content-Type Example

Body

required
application/json
serverId string required
tagName string required

Responses

200
success boolean
timestamp string
requestId string
data object
422
error string
message string
code string
timestamp string
requestId string
details array
POST https://cloud.hostup.se/api/server-tags
For AI assistants
cURL
curl -X POST "https://cloud.hostup.se/api/server-tags" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "serverId": "string",
    "tagName": "string"
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "serverId": "string",
    "tagName": "string"
  }
}
Request Body
{
  "serverId": "string",
  "tagName": "string"
}