API referenceSections

Show the source panel's certificate before anything is trusted or sent

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

POST /api/v1/tenants/{tid}/linux-imports/probe

Show the source panel's certificate before anything is trusted or sent

Authentication: session cookie __Host-panel_session (contract default; see Authentication).

Parameters

NameInTypeRequiredDescription
tidpathstringrequired
X-CSRF-Tokenheaderstringoptional

Required on unsafe requests authenticated by session cookie; API keys do not use it.

Request body

required

Content type: application/json

object
  • kind string required
    Allowed values: "cpanel" "whm" "directadmin"
  • url string required
Example
{
  "kind": "cpanel",
  "url": "string"
}

Responses

200 The certificate

Content type: application/json

object
  • url string required
  • fingerprint string required
  • subject string required
  • issuer string required
  • not_after string required
  • trusted_by_roots boolean required
Example
{
  "url": "string",
  "fingerprint": "string",
  "subject": "string",
  "issuer": "string",
  "not_after": "string",
  "trusted_by_roots": true
}

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required