cURL
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": {} }'
{ "id": "<string>", "object": "credential", "created_by_user_id": "<string>", "created_by_identity_type": "<string>", "type": "<string>", "name": "<string>", "description": "<string>", "credential_metadata": {}, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
Update an existing credential’s properties including name, description, type, payload, and metadata.
User-friendly name for the credential
Optional description
Type of credential: key or json
The credential payload to be encrypted
Optional unencrypted credential_metadata
Successful Response