Delete an integrator credential
curl --request DELETE \
--url https://api.byzantine.fi/v1/integrator/credentials/{pubkey} \
--header 'X-Pubkey: <x-pubkey>' \
--header 'X-Pubkey, X-Timestamp, X-Signature: <api-key>' \
--header 'X-Signature: <x-signature>' \
--header 'X-Timestamp: <x-timestamp>'import requests
url = "https://api.byzantine.fi/v1/integrator/credentials/{pubkey}"
headers = {
"X-Pubkey": "<x-pubkey>",
"X-Timestamp": "<x-timestamp>",
"X-Signature": "<x-signature>",
"X-Pubkey, X-Timestamp, X-Signature": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {
'X-Pubkey': '<x-pubkey>',
'X-Timestamp': '<x-timestamp>',
'X-Signature': '<x-signature>',
'X-Pubkey, X-Timestamp, X-Signature': '<api-key>'
}
};
fetch('https://api.byzantine.fi/v1/integrator/credentials/{pubkey}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Integrator key management
Delete an integrator credential
Permanently removes a credential owned by the authenticated integrator; the associated public key stops authenticating immediately. The credential signing the current request cannot delete itself, so an integrator always keeps at least one working read-write credential. Requires a read-write credential.
DELETE
/
v1
/
integrator
/
credentials
/
{pubkey}
Delete an integrator credential
curl --request DELETE \
--url https://api.byzantine.fi/v1/integrator/credentials/{pubkey} \
--header 'X-Pubkey: <x-pubkey>' \
--header 'X-Pubkey, X-Timestamp, X-Signature: <api-key>' \
--header 'X-Signature: <x-signature>' \
--header 'X-Timestamp: <x-timestamp>'import requests
url = "https://api.byzantine.fi/v1/integrator/credentials/{pubkey}"
headers = {
"X-Pubkey": "<x-pubkey>",
"X-Timestamp": "<x-timestamp>",
"X-Signature": "<x-signature>",
"X-Pubkey, X-Timestamp, X-Signature": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {
'X-Pubkey': '<x-pubkey>',
'X-Timestamp': '<x-timestamp>',
'X-Signature': '<x-signature>',
'X-Pubkey, X-Timestamp, X-Signature': '<api-key>'
}
};
fetch('https://api.byzantine.fi/v1/integrator/credentials/{pubkey}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Headers
Response
Credential deleted

