Login | Sign Up
  • FA
  • EN

API Docs

PUT /api/v1/admin/countries/{country-id}

Update an existing country.


Permissions

PermissionDescription
countries.view_allAccess countries
countries.updateUpdate a country

Request Body Parameters

NameTypeRequiredDescription
namestringYesName of the country (max 255)

Response

200 OK

{
  "data": { /* country 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