Replace External Client ID

Replaces external client ID. You can only do it when the client is offline.

Permissions

  ----
  Permissions:INTEGRATOR
  ----

HTTP Request

POST /api/v1/clients/replace HTTP/1.1
Content-Type: application/json
Authorization: Bearer <integrator_token>
Content-Length: 63
Host: localhost: 8080
{
    "oldExternalId": "oldId",
    "newExternalId": "newId"
}

Example of a Successful HTTP Response

HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers