PATCH/credentials/{id_or_name}

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).

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id_or_name*string

Credential ID or name

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Request to update an existing credential

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/credentials/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "name": "string",  "domain": "string",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "has_values": true,  "has_totp_secret": true,  "value_keys": [    "string"  ],  "sso_provider": "string",  "totp_code": "string",  "totp_code_expires_at": "2019-08-24T14:15:22Z"}