[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy

Create Widget Configuration

Description

Updates the widget at the given view. If the widget is referenced by other views, then the widget will be updated in all the views that it is part of.

Request

Request

URL

URL


put
https://nsxmanager.your.domain/policy/api/v1/ui-views/{view-id}/widgetconfigurations/{widgetconfiguration-id}
Copy

Path Parameters

Path Parameters

string
view-id Required

string
widgetconfiguration-id Required

Request Body

Request Body

WidgetConfiguration of type(s) application/json Required
This request body class requires all of the following: ManagedResource, InlineWidgetConfiguration1
Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns WidgetConfiguration of type(s) application/json
This response body class contains all of the following: ManagedResource, InlineWidgetConfiguration1
Errors

Errors

400

Bad Request


403

Forbidden


404

Not Found


412

Precondition Failed


500

Internal Server Error


503

Service Unavailable

Code Samples

Code Samples

cURL Command

curl -X PUT -H "Content-Type: application/json" -d '{}' https://nsxmanager.your.domain/policy/api/v1/ui-views/{view-id}/widgetconfigurations/{widgetconfiguration-id}
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-vmw-doc-operation: create-widget-configuration
x-vmw-nsx-module: NsxDashboard


Feedback

Was this page helpful?