Archive/Unarchive domain
Changed onArchive 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).
Request
- Base URLhttps://api.commpeak.com/textpeak
- URLhttps://api.commpeak.com/textpeak/domains/archive/{id}
- AuthAPI key in header Authorization
Path parameters
Unique identifier of the resource.
Request body
Example request
{
"archive": true
}Response
Successful Response
Example response
{
"id": 12,
"ip": "192.0.2.10",
"name": "demo.example.com",
"status": "NOT_CONFIGURED"
}Changes
- breaking
added the new path request parameter
id - info
api operation id
archiveUnarchiveDomainremoved and replaced witharchive_domain - info
the endpoint scheme security
APIKeyHeaderwas added to the API - info
the request property
became optional - info
request property
list-of-types was widened by adding typesnullto media typeapplication/json - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status
- breaking