API REFERENCE
Consents
Revoke a Consent
1 min
{ "name" "revoke", "method" "delete", "url" "https //api sandbox klavi ai/data/v1/consents/{consentid}/revoke", "description" "revoke a consent by its consentid", "tab" "examples", "examples" { "languages" \[ { "id" "toq3gxypkt orhxmeukfe", "language" "curl", "code" "curl location globoff request delete 'https //api sandbox klavi ai/data/v1/consents/{consentid}/revoke' \\\\\n header 'accept application/json' \\\\\n header 'content type application/json'", "customlabel" "" } ], "selectedlanguageid" "toq3gxypkt orhxmeukfe" }, "results" { "languages" \[ { "id" "vjk7g6 oipmdhfbvkeslz", "language" "200", "customlabel" "", "code" "{\n \\"message\\" \\"ok\\"\n}" } ], "selectedlanguageid" "vjk7g6 oipmdhfbvkeslz" }, "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "name" "authorization", "kind" "required", "type" "string", "description" "bearer access token, it returned by the /auth", "children" \[] } ], "bodydataparameters" \[], "formdataparameters" \[] }, "currentnewparameter" { "label" "header parameter", "value" "headerparameters" } }