Delete (invalidate) the API token
curl --request DELETE \
--url https://acme.getid.ee/api/v1/token/{token} \
--header 'X-API-Key: <api-key>'const options = {method: 'DELETE', headers: {'X-API-Key': '<api-key>'}};
fetch('https://acme.getid.ee/api/v1/token/{token}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://acme.getid.ee/api/v1/token/{token}"
headers = {"X-API-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)This response has no body data.{
"responseCode": 404,
"errorMessage": "Token not found"
}SDK sessions
Delete (invalidate) the API token
DELETE
/
api
/
v1
/
token
/
{token}
Delete (invalidate) the API token
curl --request DELETE \
--url https://acme.getid.ee/api/v1/token/{token} \
--header 'X-API-Key: <api-key>'const options = {method: 'DELETE', headers: {'X-API-Key': '<api-key>'}};
fetch('https://acme.getid.ee/api/v1/token/{token}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://acme.getid.ee/api/v1/token/{token}"
headers = {"X-API-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)This response has no body data.{
"responseCode": 404,
"errorMessage": "Token not found"
}Authorizations
Headers
Response
successful operation