Get Severity
Description
Get alert severities from FortiCWP
URL
/api/v1/severity
Method: GET
Request Headers
Key |
Value |
Type |
Description |
---|---|---|---|
Authorization | Bearer <Authorization Token> | String | Authorization credential generated by FortiCWP |
Content-Type | application/json | String |
Sample Request
Request URL |
GET https://www.forticwp.com/api/v1/severity |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json |
Response Variables
Name |
Type |
Description |
---|---|---|
id | String | ID number of FortiCWP severity |
name | String | Type of severity |
Sample Response
[
{
"id":"1",
"name":"Critical"
},
{
"id":"2",
"name":"Alert"
},
{
"id":"3",
"name":"Warning"
},
{
"id":"4",
"name":"Information"
},
{
"id":"5",
"name":"Pass"
}
]