Update Named Credential

Update Named Credential

Update the given namedCredential.

Request
URI
PUT
https://{api_host}/cloudapi/1.0.0/namedCredentials/{id}
COPY
Path Parameters
string
id
Required

id of the namedCredential

string
id
Required

id of the namedCredential


Request Body
NamedCredential of type(s) application/json
Optional
{
    "id": "urn:vcloud:namedCredential:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "name": "string",
    "org": {
        "name": "string",
        "id": "string"
    },
    "entity": {
        "name": "string",
        "id": "string"
    },
    "username": "string",
    "password": "string",
    "behavior": {
        "name": "string",
        "id": "string"
    }
}
string
id
Optional

URN of the namedCredential.

string
name
Required

Name of the namedCredential object.

org
Optional

Entity reference used to describe VCD entities

entity
Required

Entity reference used to describe VCD entities

string
username
Required

user name

string
password
Required

password

behavior
Optional

Entity reference used to describe VCD entities

Authentication
This operation uses the following authentication methods.
Responses
200
Returns NamedCredential of type(s) */*;version=39.0
{
    "id": "urn:vcloud:namedCredential:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "name": "string",
    "org": {
        "name": "string",
        "id": "string"
    },
    "entity": {
        "name": "string",
        "id": "string"
    },
    "username": "string",
    "password": "string",
    "behavior": {
        "name": "string",
        "id": "string"
    }
}
string
id
Optional

URN of the namedCredential.

string
name
Required

Name of the namedCredential object.

org
Optional

Entity reference used to describe VCD entities

entity
Required

Entity reference used to describe VCD entities

string
username
Required

user name

string
password
Required

password

behavior
Optional

Entity reference used to describe VCD entities