osc compute server tag add

Adds a single tag to the server if server has no specified tag. Response code in this case is 201.

If the server has specified tag just returns 204.

Normal response codes: 201, 204

Error response codes: badRequest(400), unauthorized(401), forbidden(403), itemNotFound(404)

Usage: osc compute server tag add <SERVER_ID> <ID>

Arguments:

  • <SERVER_ID> — server_id parameter for /v2.1/servers/{server_id}/tags/{id} API
  • <ID> — id parameter for /v2.1/servers/{server_id}/tags/{id} API