Revoke a token
DELETE/tokens/{uuid}
The API endpoint revokes the API token and deletes its record.
Parameters
- uuid String
The unique identifier of the token.
NodeJS
var axios = require("axios").default;
var options = {
method: 'DELETE',
url: 'https://api.signature.nc/api/v3/tokens/a54af2ab-2668-44f8-896b-7e16cc6c8c53',
headers: {'Authorization': 'Bearer {apiKey}'}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});json
{}