To delete the VLAN/Q-in-Q mapping for a group, send the following request:
DELETE https://<IA_IP_address>:<port_number>/config/v1/rbac/vlan/mappings/<groupAlias>
Required header:
Cookie: px=<token>
Note
To use this request, your user account must be assigned to the Admin role.
Options
IA_IP_address—The IP address of the NDR appliance running the NDR API.
port_number—The port number of the NDR appliance running the NDR API.
token—This token authenticates the session. By default, the session times out after 24 hours.
Parameter
groupAlias—The name of the group.
Example
DELETE https://xxx.xxx.xxx.xxx:443/config/v1/rbac/vlan/mappings/group39
Required header:
Cookie: px=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Delete VLAN/Q-in-Q mapping for a group: Response
HTTP/1.1 [Response Code] [Response Message] Server: [Server] Date: [Date]
Response fields
Response Code—A standard HTTP response code.
204—Request successful; the mapping was deleted.
Example
HTTP/1.1 204 No content Server: nginx Date: Thu, 15 Aug 2019 17:32:21 GMT
cURL code sample: Delete VLAN/Q-in-Q mapping for a group
curl -k --cookie "px=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" -X DELETE https://xxx.xxx.xxx.xxx:443/config/v1/rbac/vlan/mappings/group39
This cURL sample includes the following options:
-k—This option explicitly allows cURL to perform insecure SSL connections and transfers, which allows you to test your SSL connection without installing a CA certificate.--cookie "px=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"—This option specifies the authentication token for this session.-X DELETE—This option specifies using the DELETE method.https://xxx.xxx.xxx.xxx:443/config/v1/rbac/vlan/mappings/group39—The request URL. Replacexxx.xxx.xxx.xxxwith the IP address of your NDR appliance, andgroup39with the alias of the group.
Results
This example removes the VLAN/Q-in-Q mapping for group39.