# Delete security log profiles (REST API)

Type of document: How-to guide
Product: NGINX Instance Manager
> Remove an existing F5 WAF for NGINX security log profile from F5 NGINX Instance Manager using the REST API.

---

You can delete an existing F5 WAF for NGINX security log profile from F5 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.

**Note:** 
Use tools such as `curl` or [Postman](https://www.postman.com) to send requests to the NGINX Instance Manager REST API.
The API base URL is `https://<NIM-FQDN>/api/[nim|platform]/<API_VERSION>`.  
All requests require authentication. For details on authentication methods, see the [API overview](/nim/fundamentals/api-overview.md).

| Method | Endpoint                                                           |
|--------|--------------------------------------------------------------------|
| DELETE | `/api/platform/v1/security/logprofiles/{security-log-profile-uid}` |

1. Retrieve the UID:

    ```shell
    curl -X GET https://<NIM_FQDN>/api/platform/v1/security/logprofiles \
        -H "Authorization: Bearer <access token>"
    ```

2. Send the delete request:

    ```shell
    curl -X DELETE https://<NIM_FQDN>/api/platform/v1/security/logprofiles/<log-profile-uid> \
        -H "Authorization: Bearer <access token>"
    ```

