Update Interface
Updates the interface with the unique identifier (URN) The version must follow semantic versioning rules.
Request
URI
PUT
https://{api_host}/cloudapi/1.0.0/interfaces/{id}
COPY
Path Parameters
string
id
Required
id
Request Body
DefinedInterface
of type(s)
application/json
Optional
Show optional properties
{
"name": "SDDC Interface",
"version": "1.0.0",
"vendor": "vmware",
"nss": "myCustomEntity"
}
{
"name": "SDDC Interface",
"id": "urn:vcloud:interface:vmware.sddc:1.0.0",
"version": "1.0.0",
"vendor": "vmware",
"nss": "myCustomEntity",
"readonly": false
}
Responses
200
OK
Returns
DefinedInterface
of type(s)
application/json;version=39.1
"DefinedInterface Object"
string
name
Required
name
string
id
Optional
id
string
version
Required
The interface's version. The version should follow semantic versioning rules. Versions with pre-release extension are not allowed.
string
vendor
Required
The vendor name.
string
nss
Required
A unique namespace associated with the interface.
boolean
readonly
Optional
True if the entity type cannot be modified.
Code Samples
COPY
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name:"string","nss:"string","vendor:"string","version:"string"}' https://{api_host}/cloudapi/1.0.0/interfaces/{id}
Availability
Added in 35.0
On This Page
Defined Interface Operations
GET
Query Interfaces
POST
Create Interface
GET
Get Interface
PUT
Update Interface
DELETE
Delete Interface