This endpoint can be used to delete License records in the database.
Endpoint
DELETE
/wp-json/dlm/v1/licenses/{license_key}
Responses
Examples
Example
use IdeoLogix\DigitalLicenseManagerClient\Service;
$api = new Service( 'http://site.com', 'ck_XXXX', 'cs_XXXX' );
$response = $api->licenses()->delete( 'XX-XX-XX' );
// Empty array if everything is alright.
print_r( $response->get_data() );
Response
Array
(
)
For more details please click here.