deleteConsent method
Deletes the consent for the given Id.
@param {String} consentId The Id of the consent to delete. @returns {Promise<ClientResponse
Implementation
Future<ClientResponse<void, Errors>> deleteConsent(String consentId) {
return _start<void, Errors>()
.withUri('/api/consent')
.withUriSegment(consentId)
.withMethod('DELETE')
.go();
}