Setup Cert

Create a new Setup Cert record.

post/api/cp/setup/cert

Request

  • Base URL
    https://app.connexcs.com
  • Auth
    • OAuth 2
      Authorization code: https://auth.connexcs.com/authorize
      Token URL: https://auth.connexcs.com/token
    • or HTTP bearer

Request body

idinteger

Id

account_idinteger

Account Id (references account.id)

domainstring

Domain (unique)

certstring

Cert

keystring

Key

ca_certstring

Ca Cert

deployedinteger required

Deployed

user_providedinteger required

User Provided

namestring required

Name

valid_fromstring date-time

Valid From

valid_tostring date-time

Valid To

subject_cnstring

Subject Cn

Example request

{
  "id": 12345,
  "account_id": 1,
  "domain": "example_domain",
  "cert": "Sample cert text content",
  "key": "Sample key text content",
  "ca_cert": "Sample ca_cert text content",
  "deployed": 1,
  "user_provided": 1,
  "name": "Example Name",
  "valid_from": "2025-01-17T10:30:00Z",
  "valid_to": "2025-01-17T10:30:00Z",
  "subject_cn": "example_subject_cn"
}

Response

Successful response

statusstring

Operation status

Example response

{
  "id": 12345,
  "status": "OK"
}

Changes

    • info

      the endpoint scheme security oAuth2 was added to the API

    • info

      the endpoint scheme security opaqueToken was added to the API

    • info

      the endpoint scheme security basicAuth was removed from the API