---
title: "Update country with ID"
method: PUT
path: "/api/country/{id}"
tags: ["Country"]
---

# Update country with ID

`PUT /api/country/{id}`

## Path parameters

- `id` integer, required

## Request body

- object
  - `name` string — Name of the country
  - `ibge_code` integer — IBGE code of the country

## Response `200`

Success

- Country
  - `id` integer — Country ID
  - `name` string — Country name
  - `ibge_code` string — IBGE code
  - `created_at` string — Creation date
  - `updated_at` string — Update date

---

[API](https://skmtc.dev/portabilis/apis/api-i-educar.md) · [All operations](https://skmtc.dev/portabilis/apis/api-i-educar/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/portabilis/api-i-educar/revisions/c724afebc397/schema)
