Update Hostl
PATCH/v1/armada/host_label/:hostl_id
Update a host label
Request
Path Parameters
hostl_id Hostl Idrequired
The host label ID
- application/json
Body
required
label Label (string)
Possible values: non-empty and <= 64 characters
The text of the label
host_id uuid
The ID of the host this label is associated with
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
label Label (string)required
Possible values: non-empty and <= 64 characters
The text of the label
host_id uuidrequired
The ID of the host this label is associated with
host_label_id Host Label Id (integer)required
{
"label": "string",
"host_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"host_label_id": 0
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...