Policy > Networking > Network Services > Metadata Proxy

Create or update Metadata Proxy Config

API will create or update Metadata Proxy Config with ID profile-id

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/metadata-proxies/{metadata-proxy-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
MetadataProxyConfig+

Example Request:

PUT https://<policy-mgr>/policy/api/v1/infra/metadata-proxies/p1 { "server_address": "https://www.google.com:9000", "secret": "Admin!23Admin", "edge_cluster_path": "/infra/sites/default/enforcement-points/default/edge-clusters/8bb6901f-6484-4c83-9f7f-716899299303", "enable_standby_relocation": false, "crypto_protocols": [ "TLS_V1_1", "TLS_V1_2" ] }

Successful Response:

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

Example Response:

{ "server_address": "https://www.google.com:9000", "secret": "Admin!23Admin", "edge_cluster_path": "/infra/sites/default/enforcement-points/default/edge-clusters/8bb6901f-6484-4c83-9f7f-716899299303", "enable_standby_relocation": false, "crypto_protocols": [ "TLS_V1_1", "TLS_V1_2" ], "resource_type": "MetadataProxyConfig", "id": "p1", "display_name": "p1", "path": "/infra/metadata-proxies/p1", "relative_path": "p1", "parent_path": "/infra", "unique_id": "66af3cf5-2f36-4dfc-8bf3-e226fbc4b41a", "marked_for_delete": false, "overridden": false, "_create_user": "admin", "_create_time": 1579297250795, "_last_modified_user": "admin", "_last_modified_time": 1579297250795, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

crud

Feature:

policy_segment

Additional Errors: