Deleting rating thresholds
Request
To delete one or more rating thresholds for the account (that is, the parental ratings for which users will be prompted for the parental PIN), send a POST request to:
https://<host>:<port>/adm/v1/user/accounts/parentalControl/actions/deleteRatingsThresholds
Headers
x-correlation-id
– identifier for logging, to correlate messages across a call flownv-tenant-id
– the tenant IDtoken
– request authentication token
Mandatory arguments
The body consists of one or more ratings body names. These are the ratings bodies for which the thresholds will be removed.
Other arguments
None
Example
A POST request with this payload removes the rating thresholds for the specified ratings bodies:
{
"FSK",
"TVPG"
}
Any other thresholds that have been set will not be removed.
Response
A successful request returns an HTTP 200 status.
A bad request returns an HTTP 400 status.
An unauthorised request returns an HTTP 401 status.
A forbidden request returns an HTTP 403 status.
If the account ID or tenant ID found in the token does not exist, the request returns an HTTP 404 status.
See also
For full details of this API, see the Account and Device Manager (ADM) API documentation.