Revoke Feature Consent

DELETE /api/consent/{childServiceId}

Revokes consent for one or more feature consent requests. The revoking adult is the currenlty authenticated adult user. This API can also be run with Partner authentication. When Feature Id's are present in the body of the request the result will be revocation of those given features. Otherwise, all features will be revoked.

Revoke Consent Request Endpoint:

/api/consent/{userServiceId}

Sample Revoke Consent Request:

DELETE {{url}}/api/consent/5459366c77......85a673d3d
      
Body:
{
    "features":[
        {"featureId":100},
        {"featureId":200}
    ]
}

Sample Revoke Consent JSON Response:

{
  "validationErrors": [
    0
  ],
  "status": "success",
  "message": null,
  "resultCount": -1,
  "totalCount": -1,
  "entity": null,
  "responseTimestamp": 1588247984911
}