Skip to main content
Skip table of contents

Deleting an account (third-party product)

Overview

When the operator deletes an account, the self-care portal should call OpenTV Platform to delete all the account’s entitlements (including any third-party product entitlements).

OpenTV Platform then calls Bango to cancel any third-party entitlements for the account.

Request

To delete all an account’s entitlements, the self-care portal should send a DELETE request to:

BASH
https://<host>:<port>/crm-gateway/v2/rmg/v1/entitlements/account/{accountId}

Headers

  • x-correlation-id  – identifier for logging, to correlate messages across a call flow

  • Authorization – Keycloak access token (see Accessing operator APIs using Keycloak)

  • Content-Type: application/json

Mandatory arguments

  • accountId (in URL) – the ID of the account for which entitlements are to be deleted

Other arguments

None

Response

A successful request returns an HTTP 200 status.

A bad request returns an HTTP 400 status.

A forbidden request (invalid token) returns an HTTP 403 status.

If the specified tenant does not exist, the request returns an HTTP 404 status.

See the CRM Gateway API documentation for the specific error codes and their meanings.

See also

CRM Gateway API documentation

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.