Setup Cert

Update

Update an existing Setup Cert record by ID.

put/api/cp/setup/cert/{id}

Path parameters

idinteger required

Id identifier

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

Operation completed successfully

statusstring

Operation status

Example response

{
  "status": "OK"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.