v1

latestSwagger 2.0Agriya Infoway Licence2026-07-1716286204.2 KB
City

Update city by its id

Update city by its id

put/cities/{cityId}

Path parameters

cityIdinteger required

ID of city to update

Query parameters

tokenstring string required

OAuth token

Request body

country_idinteger
state_idinteger
namestring
city_codestring
is_activeinteger

Response

City updated

idinteger
created_atstring
updated_atstring
country_idinteger
state_idinteger
namestring
slugstring
city_codestring
is_activeinteger