Skip to main content

Update Credential By Name

Select

SaaS
Customer Managed

deprecated

This endpoint has been deprecated and may be removed in future versions of the API.

Edit credential whose name has been provided by credential owner

Path Parameters
  • credentialName 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 /v4/credential/:credentialname    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
credentialName — path required
Body

{
"newName": "string",
"userAccount": "string",
"newPassword": "string",
"description": "string"
}
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Credential/:credentialName' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"userAccount": "string",
"newPassword": "string",
"description": "string"
}'