Login | Sign Up
  • FA
  • EN

API Docs

PUT /api/v1/admin/states/{state-id}

Update an existing state.


Permissions

PermissionDescription
states.view_allAccess states
states.updateUpdate state

Request Body Parameters

NameTypeRequiredDescription
namestringYesName of the state (max 255)

Response

200 OK

{
  "data": { /* state resource */ }
}

Error Responses

StatusDescriptionReference
422Validation errorValidation error
401UnauthorizedAuthentication error
403Forbidden (no permission)Permission error

footer wave
logo

Dambel, the smart world of fitness and nutrition

LinkedinInstagramXYoutubeTelegramGitHub