Resource functions
Collection functions
Search functions
IIIF
Metadata functions
User functions
System
Message functions
Plugin functions

consentmanager_unlink_consent

Unlink a consent record from a resource.

Variable Description Data type
$consent *
The ID of the consent record to unlink.
int
$resource *
The ID of the resource from which to unlink the consent.
int

Return values

Returns true if the consent record is successfully unlinked else false.