Description
This function removes hotlink protection.
Examples
cPanel or Webmail Session URL
https://hostname.example.com:2083/cpsess##########/execute/Mime/delete_hotlink
LiveAPI PHP Class
$cpanel
=
new
CPANEL();
$mime_delete_hotlink
=
$cpanel
->uapi(
'Mime'
,
'delete_hotlink'
);
LiveAPI Perl Module
my
$cpliveapi
= Cpanel::LiveAPI->new();
my
$mime_hotlink
=
$cpliveapi
->uapi(
'Mime'
,
'delete_hotlink'
,
);
cPanel Template Toolkit
[% data = execute( 'Mime', 'delete_hotlink', ); %]
Command Line
uapi --user=username Mime delete_hotlink
|
Output (JSON)
{
"messages": null,
"errors": null,
"status": 1,
"data": null
}
Parameters
This function does not accept parameters.
Returns
This function only returns metadata.