API
Firewalls
Remove stacklets from firewall

Remove Stacklets from the Firewall

  • Name
    delete
    Type
    /v1/firewalls/:uuid/stacklets
    Description

    Send a DELETE request to remove the firewall stacklets.

Request

Required Attributes

  • Name
    stacklet_ids
    Type
    array
    Description

    An array of the Stacklets IDs which will be removed from the firewall.

Example

cURL
curl -X DELETE "https://api.simplystack.com/v1/firewalls/c85b4c53-4b37-4163-b8fa-a6d88b78eda8/stacklets" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token d359ad9cc9422b5ff07aede0cd2707da4ff82be0" \
  -d '{"stacklet_ids": "[2]"}'

Response

The record will be deleted and the response status will be a 204. This indicates a successful request with no body returned.