This tutorial demonstrates how to delete a Personal Access Token via RESTful API.
Additional API documentation
To get a list of most of the API requests available, with the 12d Synergy server running, browse http://synergy.myserver.com/api-docs/ui/index.
(Replace synergy.myserver.com with the external server address and update the port numbers if necessary.)
1.1. Delete PAT
This request can be found in the API documentation under Authentication marked ‘Delete a PAT’.
Sample Request
curl --location --request POST 'http://{your-server-here}/api/v1/auth/delete-pat?id={pat-id-here}' \
--header 'Authorization: Bearer <your-token-here>'
A successful request will only return ‘200 OK’.