POST /api/v1/admin/states/{country}
Create a new state in a given country.
Permission | Description |
---|---|
states.view_all | Access states |
states.create | Create state |
Name | Type | Required | Description |
---|---|---|---|
name | string | Yes | Name of the state (max 255) |
The country ID is provided in the route.
{
"state": {<state resource>}
}