Update a credential
Updates a credential’s authentication details or external ID. Only the fields you include in the request body are updated.
Authorizations
Secret key (sk_live_...)
Path Parameters
Unique identifier for the credential (prefixed with cred_).
Body
Request body for updating a credential. Only include fields you want to change.
Credentials payload. Structure depends on auth_method. For username_password, pass username and password. Any auth_method may include source_fields, and tokenized to vault selected source-field values.
Updated external identifier. Set to null to remove the mapping.
Response
OK
Unique identifier for the credential, prefixed with cred_.
Always credential.
Credential status: unverified, verified, invalid, or deleted.
The source this credential authenticates against. Prefixed with src_.
Authentication method: username_password or none.
Summary of stored credentials. Sensitive values are not returned.
External identifier from your system, if set.
ISO 8601 timestamp of when the resource was created.
ISO 8601 timestamp of when the resource was last updated.
Unique identifier for the API request. Include this when contacting support.