NSX-T Data Center REST API

Associated URIs:

API Description API Path

List MACSets


Returns paginated list of MACSets
GET /api/v1/mac-sets

Delete MACSet


Deletes the specified MACSet. By default, if the MACSet is added to an
NSGroup, it won't be deleted. In such situations, pass "force=true" as
query param to force delete the MACSet.
DELETE /api/v1/mac-sets/<mac-set-id>

Read MACSet


Returns information about the specified MACSet
GET /api/v1/mac-sets/<mac-set-id>

Update MACSet


Updates the specified MACSet. Modifiable parameters include the
description, display_name and mac_addresses.
PUT /api/v1/mac-sets/<mac-set-id>

Get all MACAddresses in a MACSet


List all MAC addresses in a MACSet
GET /api/v1/mac-sets/<mac-set-id>/members

Add a MAC address to a MACSet


Add an individual MAC address to a MACSet
POST /api/v1/mac-sets/<mac-set-id>/members

Remove a MAC address from given MACSet


Remove an individual MAC address from a MACSet
DELETE /api/v1/mac-sets/<mac-set-id>/members/<mac-address>