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

Create or replace SpoofGuard profile

API will create or replace SpoofGuard profile.
This API is available when using VMware Cloud on AWS or VMware NSX-T.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/spoofguard-profiles/<spoofguard-profile-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
SpoofGuardProfile+

Example Request:

PUT https://<policy-mgr>/policy/api/v1/infra/spoofguard-profiles/spoofguardprofile_1 { "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", "address_binding_whitelist": true, "_revision": 0 }

Successful Response:

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

Example Response:

{ "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_whitelist": true, "_create_user": "admin", "_create_time": 1539128784467, "_last_modified_user": "admin", "_last_modified_time": 1539129032044, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 1 }

Required Permissions:

crud

Feature:

policy_segment

Additional Errors: