Update Spa
PATCH/v1/armada/simple_product_assignment/:spa_id
Update a simple product assignment
Request
Path Parameters
The simple product assignment ID
- application/json
Body
required
Possible values: non-empty and <= 256 characters
The name of the product that will be used directly by the deployment system. e.g., paladins, roco
The number of instances of the product that will be used directly by the deployment system.
The ID of the host this assignment is associated with
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Possible values: non-empty and <= 256 characters
The name of the product that will be used directly by the deployment system. e.g., paladins, roco
The number of instances of the product that will be used directly by the deployment system.
The ID of the host this assignment is associated with
{
"name": "string",
"count": 0,
"host_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"simple_product_assignment_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}