DUT.update¶
Update DUT fields.
Server: PATCH /api/foundry/duts/{id}/.
Signature¶
update(**kwargs: Any) -> None
Parameters¶
| Name | Type | Required | Default |
|---|---|---|---|
**kwargs |
Any |
no | - |
HTTP parameters¶
| Name | In | Type | Required | Default |
|---|---|---|---|---|
dut_id |
path |
string |
yes | - |
Fields¶
Schema: DutUpdateSchema
| Field | Type | Required |
|---|---|---|
attributes |
object |
no |
dut_type_id |
string |
no |
identifier |
string |
no |
revision |
string |
no |
Return shape¶
HTTP 200 — OK
Schema: DutSchema
| Field | Type | Required |
|---|---|---|
attributes |
object |
yes |
dut_type_id |
string |
yes |
id |
string |
yes |
identifier |
string |
yes |
revision |
string |
yes |
team_id |
string |
yes |
Permission¶
Required permission: admin
HTTP¶
PATCH /api/foundry/duts/{id}/ (updateDut)
Usage¶
d_u_t.update()