Update Specific Non-Routable Endpoint Name
This endpoint is used to update a nonroutable endpoint. It uses either an ID or a name of the existing nonroutable endpoint to update its name.
PUT /openapi/v1/non_routable_endpoints/{rootScopeName}
Parameters:
Attribute |
Type |
Description |
---|---|---|
id |
string |
Unique identifier for the nonroutable endpoint. |
name |
string |
User specified name of the nonroutable endpoint. |
new_name |
string |
New name to update |
Sample python code
req_payload = {
"name": "nre-1",
"new_name": "nre-updated",
}
resp = restclient.put('/openapi/v1/non_routable_endpoints/Default', json_body=json.dumps(req_payload))
req_payload = {
"id": "5f706964a5b5f16ed4b0aacb",
"new_name": "nre-updated",
}
resp = restclient.put('/openapi/v1/non_routable_endpoints/Default', json_body=json.dumps(req_payload))