Test PagerDuty Action

You can execute a test action to check if PagerDuty is reachable or not.

POST   /rest/v1/actions/pagerduty/test

Input ParametersInput Parameters

Parameter

Mandatory/Optional Data Type

Description

pagerdutyConnectionParam

Optional Body

 Specify the servicekey used to be able to connect to PagerDuty.

Example:

{

  "serviceKey": "c391356a9d7d4c6b8a0257ff91cc3123"

}

Sample - Update PagerDuty ActionSample - Update PagerDuty Action

API request

    
      curl -k -X POST -u <username>:<password>
'https://<QualysBaseURL>/cloudview-api/rest/v1/actions/pagerduty/test'
      

Request POST Data

    
      {
    "serviceKey": "c391356a9d7d4c6b8a0257ff91cc3842"
}
      

Response

    
      {
    "success": "true"
}