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
Attributes | Required / Optional | Type | Description | ||
---|---|---|---|---|---|
id | Required | String | ID of the event forwarder for which certificate approval is needed | ||
trust | Required | Boolean | Indicates whether the trust the certificate. This can be one of the following values.
|
The following example trusts the certificate for an event forwarder.
{
"id": "151554353",
"trust": true
}
Response codes
Code | Description | Comments |
---|---|---|
200 | OK | The request completed successfully. |
400 | Bad Request | A 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. |
403 | Forbidden | The 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. |
500 | Internal Server Error | An internal error occurred. A descriptive error message is returned in the response body. |
Response body
None
Give documentation feedback