DELETE v1/account/permissions/{ProcessId:guid}/readonly

Delete the access key to stop sharing the plagiarism report with others. This will revoke access to the plagiarism reports from everyone but the user who submitted the process for a scan.

You need to login with a user and api key in order to access this method.
Add this HTTP header to your request:
Authorization: Bearer <Your-Login-Token>
Not sure how to generate your login token? Read here.

Parameters

Input

NameDescriptionTypeAdditional information
ProcessId

The Id of the process you would like to delete its access key.

globally unique identifier

Required

Output

If the call was successful (status=200), the readonly key has been deleted.

Example

Request

cURL

Sample:
curl -X DELETE "https://api.copyleaks.com/v1/account/permissions/110d842a-e0bd-4d91-9c6e-ca42dc0958fc/readonly" \
     -H "Authorization: Bearer YOUR-TOKEN"

Common Errors

Error Code Error Message
27 Unknown process id!
26 The request cannot be completed because the process is still running.
37 Authorization has been denied for this request.

For more information, see the full errors list.