Fortinet white logo
Fortinet white logo

REST API Solution Guide

MAC device group associations (/macgroup-memberships/)

MAC device group associations (/macgroup-memberships/)

URL:https://[server_name]/api/v1/macgroup-memberships/

This endpoint represents MAC device group memberships resource (relationship between MAC devices and MAC device groups).

Supported fields

Field Display name Type Required Other restrictions
group MAC group String Yes MAC device group URI.

device

MAC device

String

Yes

MAC device URI.

group_name

MAC group name

String

No

device_name

MAC device name

String

No

Allowed methods

HTTP method Resource URI Action
GET /api/v1/macgroup-memberships/ Get all MAC device group memberships.
GET /api/v1/macgroup-memberships/[id]/ Get MAC device group membership with ID.
POST /api/v1/macgroup-memberships/ Create a new MAC device group membership.

DELETE

/api/v1/macgroup-memberships/[id]/ Delete MAC device with ID.

Allowed filters

Field Lookup expressions Values
group_name exact
device_name exact

MAC device group associations (/macgroup-memberships/)

MAC device group associations (/macgroup-memberships/)

URL:https://[server_name]/api/v1/macgroup-memberships/

This endpoint represents MAC device group memberships resource (relationship between MAC devices and MAC device groups).

Supported fields

Field Display name Type Required Other restrictions
group MAC group String Yes MAC device group URI.

device

MAC device

String

Yes

MAC device URI.

group_name

MAC group name

String

No

device_name

MAC device name

String

No

Allowed methods

HTTP method Resource URI Action
GET /api/v1/macgroup-memberships/ Get all MAC device group memberships.
GET /api/v1/macgroup-memberships/[id]/ Get MAC device group membership with ID.
POST /api/v1/macgroup-memberships/ Create a new MAC device group membership.

DELETE

/api/v1/macgroup-memberships/[id]/ Delete MAC device with ID.

Allowed filters

Field Lookup expressions Values
group_name exact
device_name exact