Get first response policies of client

This endpoint is used to view details of the first response policy.

Leave Feedback

URL

GET https://api.opsramp.com/api/v2/tenants/{clientId}/policies/firstResponse/

Sample URLs

https://api.opsramp.com/api/v2/tenants/client_4/policies/firstResponse/
https://api.opsramp.com/api/v2/tenants/client_4/policies/firstResponse/?pageNo=1&pageSize=100

Status code

200 OK

Sample response

{
   "results":
     [
	   {
	     "id": "POLICY-AC-c44f4193-154a-4aa5-b8a9-e5ea5acb386b",
		 "name": "Policy1",
		 "enabled": true,
		 "precedence": 1,
		 "firstResponseType": "SUPPRESSION"
	   },
	   {
	     "id": "POLICY-AC-d53e179d-8c9b-4564-b793-dc639f6a7cf2",
		 "name": "Policy2",
		 "enabled": true,
		 "precedence": 2,
		 "firstResponseType": "SUPPRESSION"
	   }
	 ],
   "totalResults": 2,
   "orderBy": "precedence",
   "pageNo": 1,
   "pageSize": 100,
   "totalPages": 1,
   "nextPage": false,
   "previousPageNo": 0,
   "descendingOrder": false
}