Credentials
Update credential
Overwrites the stored credential data (e.g. username/password) while keeping the same credential_id.
post/v1/credentials/{credential_id}/update
Path parameters
credential_idstring required
The unique identifier of the credential to update
Example:cred_1234567890
The unique identifier of the credential to update
Headers
x-api-keystring nullable
Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
Request body
Example request
{
"name": "Amazon Login",
"credential": {
"password": "securepassword123",
"username": "user@example.com",
"totp": "JBSWY3DPEHPK3PXP",
"totp_identifier": "user@example.com"
},
"proxy_location": {
"country": "US",
"subdivision": "CA",
"city": "New York"
}
}Response
Successful Response
Example response
{
"credential_id": "cred_1234567890",
"credential": {
"username": "user@example.com",
"totp_identifier": "user@example.com"
},
"name": "Amazon Login",
"folder_id": "cfld_1234567890",
"proxy_location": {
"country": "US",
"subdivision": "CA",
"city": "New York"
}
}