NSX-T Data Center REST API

Associated URIs:

API Description API Path

List segment security profiles


API will list all segment security profiles.
GET /policy/api/v1/infra/segment-security-profiles
GET /policy/api/v1/global-infra/segment-security-profiles
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/segment-security-profiles

DELETE segment security profile


API will delete segment security profile with the given id.
DELETE /policy/api/v1/infra/segment-security-profiles/{segment-security-profile-id}
DELETE /policy/api/v1/global-infra/segment-security-profiles/{segment-security-profile-id}
DELETE /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/segment-security-profiles/{segment-security-profile-id}

GET Segment security profile id


API will return details of the segment security profile with given id. If the
profile does not exist, it will return 404.
GET /policy/api/v1/infra/segment-security-profiles/{segment-security-profile-id}
GET /policy/api/v1/global-infra/segment-security-profiles/{segment-security-profile-id}
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/segment-security-profiles/{segment-security-profile-id}

PATCH segment security profile id


Create a new segment security profile if the segment security profile with given id does not
exist. Otherwise, PATCH the existing segment security profile
PATCH /policy/api/v1/infra/segment-security-profiles/{segment-security-profile-id}
PATCH /policy/api/v1/global-infra/segment-security-profiles/{segment-security-profile-id}
PATCH /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/segment-security-profiles/{segment-security-profile-id}

PUT segment security profile id


Create or replace a segment security profile
PUT /policy/api/v1/infra/segment-security-profiles/{segment-security-profile-id}
PUT /policy/api/v1/global-infra/segment-security-profiles/{segment-security-profile-id}
PUT /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/segment-security-profiles/{segment-security-profile-id}