Update an existing state.
| Permission | Description |
|---|---|
states.view_all | Access states |
states.update | Update state |
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Name of the state (max 255) |
{
"data": { /* state resource */ }
}
| Status | Description | Reference |
|---|---|---|
| 422 | Validation error | Validation error |
| 401 | Unauthorized | Authentication error |
| 403 | Forbidden (no permission) | Permission error |