v3

latestOpenAPI 3.0.3GPL-2.0-or-laterraw.githubusercontent.com2026-03-115726123.8 KB
Countries

Update a single country

put/countries/{id}

Headers

If-Matchstring required

Clients need to provide the If-Match parameter on update operations (PUT and PATCH) with the ETag obtained in the request from which data are being updated. Requests missing this header will be rejected with HTTP response code 428. Requests trying to update outdated content will be rejected with HTTP response code 412.

Request body

_metaobject
codestring required
defaultboolean
localizedNamestring
namestring required

Response

Confirms replacement of country data, returning the new data

_metaobject
codestring required
defaultboolean
localizedNamestring
namestring required