API referenceEndpoints
Correct a station area
Corrects the name of a station area; its code is unchanged. **Required permission:** `referential.station-area:write`
PATCH
/referential/v1/station-areas/{id}Corrects the name of a station area; its code is unchanged.
Required permission: referential.station-area: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*CorrectStationAreaRequest
Response Body
*/*
*/*
*/*
curl -X PATCH "https://example.com/referential/v1/station-areas/string" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "code": "string", "created_at": "2019-08-24T14:15:22Z", "id": "string", "kind": "string", "name": "string", "status": "string", "updated_at": "2019-08-24T14:15:22Z"}