Set

Description

Set a custom certificate authority for use by all of your IMAP and HTTP Request actions.

Request

HTTP Method: PUT

Parameter Description
certificate PEM encoded X.509 public certificate (or certificate chain) of your certificate authority
name Optional Name of your customer certificate authority. Default value: default

Sample request


curl -X PUT \
  https://<<META.tenant.domain>>/api/v1/admin/custom_certificate_authority \
  -H 'content-type: application/json' \
  -H 'Authorization: Bearer <<CREDENTIAL.tines_api_key>>'
  -d '{
       "certificate": "<PEM encoded X.509 certificate>",
      }'
}

Response

A successful request will return an empty response with a 200 status code.

A failed request will return a 422 status code.

Was this helpful?