[{"label":"Latest (v1.1)","version":"latest"}]
vmc

Update Credentials

Description

Update credential details

Request

Request

URL

URL


put
https://vmc.vmware.com/vmc/api/orgs/{org}/sddcs/{sddcId}/addons/{addonType}/credentials/{name}
Copy

Path Parameters

Path Parameters

string
org Required

Org id of the associated SDDC


string
sddcId Required

Id of the SDDC


string
addonType Required

Add on type


string
name Required

name of the credentials


Request Body

Request Body

UpdateCredentials of type(s) application/json Required

Credentials update payload

{
	"password": "string",
	"username": "string"
}
string
password Required

Password associated with the credentials


string
username Required

Username of the credentials

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK returns NewCredentials of type(s) application/json

Updated credentials

string
name Required

Name of the credentials


string
password Required

Password associated with the credentials


string
username Required

Username of the credentials

Errors

Errors

400

Bad request


403

Forbidden

Code Samples

Code Samples

cURL Command

curl -X PUT -H "Content-Type: application/json" -d '{"password":"string","username":"string"}' https://vmc.vmware.com/vmc/api/orgs/{org}/sddcs/{sddcId}/addons/{addonType}/credentials/{name}
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-vmc-ui-servicename: credentials
x-vmw-vapi-methodname: update


Feedback

Was this page helpful?