dambel

دمبل

shevron
ورود | ثبت نام

API Docs / admin / states / create



POST /api/v1/admin/states/{country}

Create a new state in a given country.


Permissions

PermissionDescription
states.view_allAccess states
states.createCreate state

Request Body Parameters

NameTypeRequiredDescription
namestringYesName of the state (max 255)

The country ID is provided in the route.


Response

201 Created

{
  "state": {<state resource>}
}

Error Responses


footer wave
logo

دمبل، دنیای هوشمند ورزش و تغذیه

LinkedinInstagramXYoutube