Update credential

PUT {{baseUrl}}/credentials/:id?aid=1234

Updates the credential for ThousandEyes transaction tests, based on properties provided in the request data. To update a credential, you must have permission to update tests and access to the credential based on its default or provided account ID.

Request Params

KeyDatatypeRequiredDescription
aidnumberA unique identifier associated with your account group. You can retrieve your AccountGroupId from the /account-groups endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.

Request Body

{"name"=>"Example Credential 1", "value"=>"Example Credential 1 Password"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"id":"3247","name":"Example Credential","_links":{"self":{"href":"https://api.thousandeyes.com/v7/link/to/resource/id","templated":false,"type":"do exercitation ut","deprecation":"dolor qui proident esse Ut","name":"dolore qui Ut proident","profile":"commodo","title":"Ut sunt","hreflang":"qui sint"}}}