Credentials
Update credential
Update a credential's name or values. When values are provided, they are merged with existing values (new keys are added, existing keys are overwritten).
patch/credentials/{id_or_name}
Path parameters
id_or_namestring required
Credential ID or name
Request body
Example request
{
"name": "my-updated-login",
"values": {
"username": "user@example.com",
"password": "newpassword"
},
"remove_value_keys": [
"old_field"
],
"totp_secret": "JBSWY3DPEHPK3PXP",
"sso_provider": "google"
}Response
Credential updated successfully
Example response
{
"id": "cred_abc123xyz",
"name": "my-netflix-login",
"domain": "netflix.com",
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-01-15T10:30:00Z",
"has_values": true,
"value_keys": [
"username",
"password"
],
"sso_provider": "google",
"totp_code": "847291",
"totp_code_expires_at": "2025-01-15T10:30:30Z"
}