Previous Next JavaScript must be enabled to correctly display this content

## Country Code API REST Endpoints

Sort by
Task Path Method
Common Core Services/Country Code API
This service is used for country code Operations.

Adds a new country code
  Method: post
  Path: `/service/countrycodes`
Adds a new host code
  Method: post
  Path: `/service/hostcodes`
Adds a new language code
  Method: post
  Path: `/service/languagecodes`
Close the country codes by given ID
  Method: patch
  Path: `/service/countrycodes/{countryCode}/close`
Close the host codes by given ID
  Method: patch
  Path: `/service/hostcodes/{hostCode}/close`
Close the language code service by given ID
  Method: patch
  Path: `/service/languagecodes/{languageCode}/close`
Reopen the country codes by given ID
  Method: patch
  Path: `/service/countrycodes/{countryCode}/reopen`
Reopen the host codes by given ID
  Method: patch
  Path: `/service/hostcodes/{hostCode}/reopen`
Reopen the language code service by given ID
  Method: patch
  Path: `/service/languagecodes/{languageCode}/reopen`
Update an existing host code
  Method: put
  Path: `/service/hostcodes/{hostCode}`
Update an existing rule
  Method: put
  Path: `/service/countrycodes/{countryCode}`
Update an existing rule
  Method: put
  Path: `/service/languagecodes/{languageCode}`