Delete a consent

Delete a consent

This endpoint deletes an existing consent.

DELETEhttps://apione.zwapgrid.com/consents//api/v1/consents/{consentId}
Path parameters
consentId*string (uuid)

The id of the consent you wish to delete.

Header parameters
Response

If consent is removed

Request
const response = await fetch('https://apione.zwapgrid.com/consents//api/v1/consents/{consentId}', {
    method: 'DELETE',
    headers: {
      "x-correlation-id": "123e4567-e89b-12d3-a456-426614174000"
    },
});
const data = await response.json();
Response
{
  "type": "text",
  "title": "text",
  "detail": "text",
  "instance": "text"
}

Last updated