Deactivate a hardware token
Hardware token serial number
Token is deactivated
const response = await fetch('/api/oath/tokens/{serialNumber}/state', { method: 'PUT', headers: {}, }); const data = await response.json();
Import PSKC file
PSKC file to import
Success
const response = await fetch('/api/oath/tokens', { method: 'POST', headers: { "Content-Type": "multipart/form-data" }, body: JSON.stringify({}), }); const data = await response.json();