Skip to main content

Set

Description

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

Request

HTTP Method: PUT

ParameterDescription
certificatePEM encoded X.509 public certificate (or certificate chain) of your certificate authority

Sample request


curl -X PUT \
https://<tenant-domain>/api/v1/admin/custom_certificate_authority \
-H 'content-type: application/json' \
-H 'x-user-email: <email-address>' \
-H 'x-user-token: <api-token>'
-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.