PATCH
/
v5
/
credentials
/
{credential_id}
Update Credential
curl --request PATCH \
  --url https://api.egp.scale.com/v5/credentials/{credential_id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "type": "<string>",
  "payload": "<string>",
  "credential_metadata": {}
}'
This response does not have an example.

Authorizations

x-api-key
string
header
required

Headers

x-selected-account-id
string | null

Path Parameters

credential_id
string
required

Body

application/json
name
string

User-friendly name for the credential

description
string

Optional description

type
string

Type of credential: key or json

payload
string<password>

The credential payload to be encrypted

credential_metadata
object

Optional unencrypted credential_metadata

Response

Successful Response