tag

Create a new tag

Creates a new tag. Existing servers can be tagged in same request.

post/1.3/tag

Request

  • Base URL: https://api.upcloud.com
  • URL: https://api.upcloud.com/1.3/tag
  • Auth: HTTP bearer

Request body

Example request

{
  "tag": {
    "name": "PROD",
    "description": "Production servers",
    "servers": {
      "server": [
        "0077fa3d-32db-4b09-9f5f-30d9e9afb565"
      ]
    }
  }
}

Response

Created tag.

Example response

{
  "tag": {
    "name": "PROD",
    "description": "Production servers",
    "servers": {
      "server": [
        "0077fa3d-32db-4b09-9f5f-30d9e9afb565"
      ]
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.