Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
rest/{version}/severities/{severityId}/setCustomName
Descriptor | Value |
---|---|
HTTP Method | POST |
Description | Sets the custom name for the severity. |
Required Permission | Can Modify Vulnerabilities (Global) |
Version Introduced | 2.8.8 |
Request Header Parameters
Parameter | Value | Required | Description |
---|---|---|---|
Accept | String | Yes | A value of ‘application/json’ must be provided. |
Request URL Parameters
Parameter | Value | Required | Description |
---|---|---|---|
customName | String | Yes | Name the severity should be updated. |
Sample Calls:
Code Block |
---|
curl --insecure -H 'Accept: application/json' -H "Authorization: APIKEY {apiKey}" -X POST http://localhost:8080/threadfix/rest/latest/severities/1/setCustomNamecustomName=newName |
Sample Output:
Code Block |
---|
{ "message": "", "success": true, "responseCode": -1, "object": "REST request to change Severity customName with ID 4 to name boom completed successfully." } |
Page Tree | ||||
---|---|---|---|---|
|