Skip to main content

POST /events/monitors/certificate

Use this method to download the certificate an event forwarder and add the certificate to the trusttore.

Authentication

Attention
The certificate is downloaded and added to the truststore after the event forwarder is created or modified. A request to trust the certificate must be made within 60 seconds after making the request to create or modify the event forwarder.

Authentication with username and password is required.

Request URL

POST https://{management_server_IP}/events/monitors/certificate

Query parameters

None

Request body

AttributesRequired / OptionalTypeDescription
idRequiredStringID of the event forwarder for which certificate approval is needed
trustRequiredBooleanIndicates whether the trust the certificate. This can be one of the following values.
  • true. Trust the certificate.

  • false. Do not trust the certificate.

The following example trusts the certificate for an event forwarder.

{
"id": "151554353",
"trust": true
}

Response codes

CodeDescriptionComments
200OKThe request completed successfully.
400Bad RequestA query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body.
403ForbiddenThe orchestrator server was prevented from fulfilling the request. A descriptive error message is returned in the response body. Ensure that you have privileges to perform the request.
500Internal Server ErrorAn internal error occurred. A descriptive error message is returned in the response body.

Response body

None