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