Thu hồi API Key
curl --request DELETE \
--url https://seller.hogotopod.com/api/v1/customers/api-keys/{id} \
--header 'X-Tenant: <api-key>'const options = {method: 'DELETE', headers: {'X-Tenant': '<api-key>'}};
fetch('https://seller.hogotopod.com/api/v1/customers/api-keys/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://seller.hogotopod.com/api/v1/customers/api-keys/{id}"
headers = {"X-Tenant": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)HttpResponse<String> response = Unirest.delete("https://seller.hogotopod.com/api/v1/customers/api-keys/{id}")
.header("X-Tenant", "<api-key>")
.asString();{
"code": "<string>",
"count": 123,
"error": true,
"message": "<string>",
"showMessage": true
}API Key Management
Thu hồi API Key
DELETE
/
v1
/
customers
/
api-keys
/
{id}
Thu hồi API Key
curl --request DELETE \
--url https://seller.hogotopod.com/api/v1/customers/api-keys/{id} \
--header 'X-Tenant: <api-key>'const options = {method: 'DELETE', headers: {'X-Tenant': '<api-key>'}};
fetch('https://seller.hogotopod.com/api/v1/customers/api-keys/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://seller.hogotopod.com/api/v1/customers/api-keys/{id}"
headers = {"X-Tenant": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)HttpResponse<String> response = Unirest.delete("https://seller.hogotopod.com/api/v1/customers/api-keys/{id}")
.header("X-Tenant", "<api-key>")
.asString();{
"code": "<string>",
"count": 123,
"error": true,
"message": "<string>",
"showMessage": true
}