v1
latestOpenAPI 3.0.32026-07-24156161.2 MBDomains
Archive/Unarchive domain
Archive or unarchive a domain. Send archive: true to archive, or archive: false to restore it.
Authentication: TextPeak API key in the Authorization header (see Authentication in the API Overview).
put/domains/archive/{id}
Request body
Example request
{
"archive": true
}Response
The updated domain.
Example response
{
"id": 12,
"name": "example.com",
"ip": "192.0.2.10",
"status": "CONFIGURED"
}