Skip to main content

Update province

PUT 

/Countries/:countryCode/Provinces

Update province

Request​

Path Parameters

    countryCode stringrequired

    The specified country code.

Body

The province to be updated

    title stringnullablerequired

    The display title of this entity.

    countryCode stringnullablerequired

    The unique country code.

    provinceCode stringnullablerequired

    The unique code identifying the province.

    updateInfo object

    Audit metadata capturing who last updated this record and when.

    actionBy stringnullablerequired

    The username or identifier of the user who performed the action.

    actionAt date-timerequired

    The date and time when the action was performed.

Responses​

The province was updated.

Schema
    countryCode stringnullablerequired

    The unique country code.

    cityCode stringnullablerequired

    The unique code identifying the city.

    cityName stringnullablerequired

    The name of the city.

    createInfo object

    Audit metadata capturing who created this record and when.

    actionBy stringnullablerequired

    The username or identifier of the user who performed the action.

    actionAt date-timerequired

    The date and time when the action was performed.

    updateInfo object

    Audit metadata capturing who last updated this record and when.

    actionBy stringnullablerequired

    The username or identifier of the user who performed the action.

    actionAt date-timerequired

    The date and time when the action was performed.

Loading...