Revoking access
Wan't to revoke access to a file? No problem, just send a request to the Pathfindr API and the file will be inaccessible.
What you'll need
- Your secret API key
- file UUID -* file UUID - you get this reference after you create a token for the annotation tool or the recorder
curl --location --request POST 'https://api.pathfindr.dev/api/tokens/<ACCESS TOKEN>/revoke' \
--header 'Authorization: Bearer <API KEY>'
Now anyone trying to access the secure URL will get a 401.