Delete an application
curl --request DELETE \
--url https://acme.getid.ee/api/v1/application/{id} \
--header 'X-API-Key: <api-key>'const options = {method: 'DELETE', headers: {'X-API-Key': '<api-key>'}};
fetch('https://acme.getid.ee/api/v1/application/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://acme.getid.ee/api/v1/application/{id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){
"responseCode": 200
}{
"responseCode": 401,
"errorMessage": "Unauthorized"
}{
"responseCode": 404
}Review and records
Delete an application
Delete the verified application
In case of using the ApiKeyAuth, you can delete any application;
In case of using the ApiTokenAuth without root access, you can delete only application marked with this token;
DELETE
/
api
/
v1
/
application
/
{id}
Delete an application
curl --request DELETE \
--url https://acme.getid.ee/api/v1/application/{id} \
--header 'X-API-Key: <api-key>'const options = {method: 'DELETE', headers: {'X-API-Key': '<api-key>'}};
fetch('https://acme.getid.ee/api/v1/application/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://acme.getid.ee/api/v1/application/{id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){
"responseCode": 200
}{
"responseCode": 401,
"errorMessage": "Unauthorized"
}{
"responseCode": 404
}Authorizations
ApiKeyAuthApiTokenAuth