Add MAC Address

Add MAC Address

Add an individual MAC address to a MACSet

Request
URI
POST
https://nsxmanager.your.domain/api/v1/mac-sets/{mac-set-id}/members
COPY
Path Parameters
string
mac-set-id
Required

MAC Set Id


Request Body
MACAddressElement of type(s) application/json
Required
This request body class requires all of the following: RevisionedResource , InlineMACAddressElement1
{
    "_self": {
        "rel": "string"
    },
    "_revision": 0,
    "_links": [
        {
            "action": "string",
            "href": "string",
            "rel": "string"
        }
    ],
    "_schema": "string",
    "mac_address": "string"
}
Authentication
This operation uses the following authentication methods.
Responses
201

Resource created successfully

Returns MACAddressElement of type(s) application/json
This response body class contains all of the following: RevisionedResource , InlineMACAddressElement1
{
    "_self": {
        "rel": "string"
    },
    "_revision": 0,
    "_links": [
        {
            "action": "string",
            "href": "string",
            "rel": "string"
        }
    ],
    "_schema": "string",
    "mac_address": "string"
}

default

Unexpected error

Returns ApiError of type(s) application/json
{
    "module_name": "string",
    "error_message": "string",
    "error_code": 0
}
string
module_name
Optional

module_name

string
error_message
Optional

error_message

integer As int64 As int64
error_code
Optional

error_code