Route: https://api.kayran.live/DeleteReport
This function permits delete a specific report via its UUID from queue.
This function requires both Admin and User roles. Private Users are restricted to fetching only the reports they initiated.
Request Syntax
{
"apiKey": "string",
"uuid": "String"
}
Request Parameters
Parameters being used in the Request
Parameter Name :
apiKey
Parameter Usage and Options :
Your Kayran given API Key.
How do I get it ? :
Located in the “Profile” section.
Note : by default, the “API Status” is enabled, unless, the Admin has disabled it in the “Server Settings” section.
Type :
String
Is it Optional ? :
No.
Parameter Name :
uuid
Parameter Usage and Options :
The report’s uuid.
How do I get it ? :
Simply use the “GetScan” or “GetAllScans” function, or navigate to a certain scan’s page, and in the address bar, you will notice “token=String”, use that String.
Type :
String
Is it Optional ? :
No.
Successful Response
{
“Error”: 0,
“Function”: “DeleteReport”,
“Data”: “Successes Deleted Report”
}
Errors and their Possible Causes
For more information, please refer to the General Errors section.