API referenceEndpoints
Correct a locality's names; its code is unchanged
**Required permission:** `referential.locality:write`
PATCH
/referential/v1/localities/{id}Required permission: referential.locality:write
Authorization
oauth2 AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
body*CorrectLocalityRequest
Response Body
*/*
*/*
*/*
curl -X PATCH "https://example.com/referential/v1/localities/string" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "code": "string", "created_at": "2019-08-24T14:15:22Z", "id": "string", "latitude": 0.1, "longitude": 0.1, "name": "string", "names_by_locale": { "property1": "string", "property2": "string" }, "status": "string", "updated_at": "2019-08-24T14:15:22Z"}