Recovering an account (third-party products)
Overview
Request
To recover a user’s account, the self-care portal should send a POST request to:
https://<host>:<port>/tpes/v1/operator/entitlements/{entitlementId}/actions/recover
Headers
x-correlation-id
– identifier for logging, to correlate messages across a call flowAuthorization
– Keycloak access token (see Accessing operator APIs using Keycloak)Content-Type: application/json
Mandatory arguments
entitlementId
– the ID of the entitlement to be recovered
Optional arguments
None
Response
A successful request returns an HTTP 200 status.
A bad request returns an HTTP 400 status.
If the specified entitlement does not exist, the request returns an HTTP 404 status.
Example
A successful request returns a response that looks like this:
{
"recoveryUrl": "https://example.activation.url.bango.com"
}