v1

latestOpenAPI 3.0.02026-07-1719430.3 KB
City

Delete city with ID

delete/api/city/{id}

Path parameters

idinteger required
Example:1

Response

Success

idinteger

City ID

state_idinteger

State ID

namestring

City name

ibge_codestring

IBGE code

created_atstring

Creation date

updated_atstring

Update date

Example response

{
  "id": 1,
  "state_id": 1,
  "name": "Francisco Beltrão",
  "created_at": "2022-01-01 00:00:00",
  "updated_at": "2022-01-01 00:00:00"
}