Archive Domain
Safely archive domains that are no longer in use, helping you manage and declutter your active domains list.
curl --location 'https://api.maximise.ai/v1/whitelabel-api/archive-domain' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": "SPzRnUKSwB0jPWaD"
}'const axios = require('axios');
axios.post('https://api.maximise.ai/v1/whitelabel-api/archive-domain',
{
"did": "SPzRnUKSwB0jPWaD"
}, {
headers: {accept: 'application/json', Authorization: 'Bearer <token>'}
})
.then(response => {
console.log(response.data);
})
.catch(error => {
console.log(error);
});import requests
import json
url = "https://api.maximise.ai/v1/whitelabel-api/archive-domain"
payload = json.dumps({
"did": "SPzRnUKSwB0jPWaD"
})
headers = {
'Authorization': 'Bearer <token>',
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)Example response
Status Code: 200 OK
{
"message": "Successfully archived domain for this whitelabeled account",
"uid": "22bb64ef-0c82-4870-a5ef-082084b4295a",
"id": "KA-nyoNJWbjWglN5P",
"domain": "example.com",
"team": "670296297231defa325d5c0f4",
"active": false,
"archived": true,
"verified": false,
"capturing": false,
"identification_preferences": {
"accounts": true
},
"whitelabel": "66795bdfa4dace0e98d77bed",
"createdAt": "2024-10-07T22:08:48.859Z"
}Last updated