Update Credential
PATCH/v5/credentials/{credential_id}
Update an existing credential’s properties including name, description, type, payload, and metadata.
Body ParametersJSON
Update Credential
curl https://api.egp.scale.com/v5/credentials/$CREDENTIAL_ID \
-X PATCH \
-H 'Content-Type: application/json' \
-H "x-api-key: $SGP_API_KEY" \
-d '{}'{
"id": "id",
"created_at": "2019-12-27T18:11:19.117Z",
"created_by_identity_type": "created_by_identity_type",
"created_by_user_id": "created_by_user_id",
"credential_metadata": {
"foo": "bar"
},
"description": "description",
"name": "name",
"type": "type",
"updated_at": "2019-12-27T18:11:19.117Z",
"object": "object"
}Returns Examples
{
"id": "id",
"created_at": "2019-12-27T18:11:19.117Z",
"created_by_identity_type": "created_by_identity_type",
"created_by_user_id": "created_by_user_id",
"credential_metadata": {
"foo": "bar"
},
"description": "description",
"name": "name",
"type": "type",
"updated_at": "2019-12-27T18:11:19.117Z",
"object": "object"
}