Delete a security log profile
You can delete an existing F5 WAF for NGINX security log profile from NGINX Instance Manager using the REST API.
Deleting a log profile permanently removes it from the system.
To delete a security log profile, send a DELETE request to the Security Log Profiles API using the profile’s UID.
Use tools such ascurlor Postman to send requests to the NGINX Instance Manager REST API. The API base URL ishttps://<NIM-FQDN>/api/[nim|platform]/<API_VERSION>.
All requests require authentication. For details on authentication methods, see the API overview.
| Method | Endpoint |
|---|---|
| DELETE | /api/platform/v1/security/logprofiles/{security-log-profile-uid} |
-
Retrieve the UID:
shell curl -X GET https://{{NIM_FQDN}}/api/platform/v1/security/logprofiles \ -H "Authorization: Bearer <access token>" -
Send the delete request:
shell curl -X DELETE https://{{NIM_FQDN}}/api/platform/v1/security/logprofiles/<log-profile-uid> \ -H "Authorization: Bearer <access token>"