Skip to main content

Update Credential

Select

SaaS
Customer Managed

Edit credential whose id has been provided by credential owner

Path Parameters
  • credentialId string required
Request Body

  • newName string

    Updated name of credential

  • userAccount string required

    User account of Credential. If updated the updated user account is considered else the existing user account is considered.

  • newPassword string required

    Updated password of credential. The password has to be provided in Base64 format.

  • description string

    Updated description of Credential

Responses

Success


Schema
  • object
PUT /v5/credential/:credentialid    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
credentialId — path required
Body
{
"newName": "string",
"userAccount": "string",
"newPassword": "string",
"description": "string"
}
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V5/Credential/:credentialId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"userAccount": "string",
"newPassword": "string",
"description": "string"
}'