Policy > Networking > Connectivity > Segments > Segment Profiles > Spoofguard Profiles

List SpoofGuard profiles

API will list all SpoofGuard profiles.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/global-infra/spoofguard-profiles
/policy/api/v1/infra/spoofguard-profiles
Request Headers:
n/a
Query Parameters:
SpoofGuardProfileListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/spoofguard-profiles/

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
SpoofGuardProfileListResult+

Example Response:

{ "sort_ascending": true, "sort_by": "display_name", "result_count": 2, "results": [ { "resource_type": "SpoofGuardProfile", "id": "default-spoofguard-profile", "display_name": "default-spoofguard-profile", "path": "/infra/spoofguard-profiles/default-spoofguard-profile", "parent_path": "/infra/spoofguard-profiles/default-spoofguard-profile", "relative_path": "default-spoofguard-profile", "marked_for_delete": false, "address_binding_allowlist": false, "_create_user": "system", "_create_time": 1539118620552, "_last_modified_user": "system", "_last_modified_time": 1539118620552, "_system_owned": true, "_protection": "NOT_PROTECTED", "_revision": 0 }, { "resource_type": "SpoofGuardProfile", "id": "spoofguardprofile_1", "display_name": "spoofguardprofile_1", "path": "/infra/spoofguard-profiles/spoofguardprofile_1", "parent_path": "/infra/spoofguard-profiles/spoofguardprofile_1", "relative_path": "spoofguardprofile_1", "marked_for_delete": false, "address_binding_allowlist": false, "_create_user": "admin", "_create_time": 1539128784467, "_last_modified_user": "admin", "_last_modified_time": 1539128784467, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 } ] }

Required Permissions:

read

Feature:

policy_profiles

Additional Errors: