ops
ops-end-customers

Move a user to another end customer

Changed on

ops endpoint to migrate one user to a different end customer

put/ops/end-customers/migrate-user/{user_id}

Request

  • Base URL
    https://api.topi-staging.eu
  • URL
    https://api.topi-staging.eu/ops/end-customers/migrate-user/{user_id}
  • Auth
    OAuth 2
    Authorization code: /oauth2/authorize
    Token URL: /oauth2/token scopes: ops-end-customer:edit

Path parameters

user_idstring regexp required

end-user ID

Example:739b63c2-9e58-4964-b38d-4ebb424de242

Request body

destination_idstring regexp required

Destination end-customer ID

source_idstring regexp

Source end-customer ID

Example request

{
  "destination_id": "739b63c2-9e58-4964-b38d-4ebb424de242",
  "source_id": "739b63c2-9e58-4964-b38d-4ebb424de242"
}

Response

OK response.

Changes

    • info

      api operation id end_customer.migrateUserToEndCustomerOps removed and replaced with end_customer#migrateUserToEndCustomerOps

    • info

      api operation id end_customer#migrateUserToEndCustomerOps removed and replaced with end_customer.migrateUserToEndCustomerOps

    • info

      api tag ops-end-customers added