Updating a credential

POST https://{{base_url}}/v6/credentials/{{credentialId}}/update.json

Updating a credential

Updates a credential in ThousandEyes, based on properties provided in the POST data. In order to update a credential, the user attempting the creation must have permission to update tests & should have access to the credential (same account)

Optional (Querystring) Parameters

  • aid={aid} optional and requires the user to be assigned to the target account group, specifies the account group context of the request, obtained from the /account-groups endpoint. Specifying this parameter without the user being assigned to the target account will result in an error response. See Account group context for more information.

Request

  • {credentialId} corresponds to the unique ID of the credential to be updated, obtained through the /credentials endpoint
  • Request body should contain fields to be set during update.
    • name string The name of the credential
    • value string The value of the credential that will be encrypted (if the user has permission to read sensitive data)

Request Body

{"value"=>"updated password devnet"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring