Write Credential
Stores an encrypted credential. The value is never returned.
Authorization
OAuth2AuthorizationCodeBearer AuthorizationBearer <token>
In: header
Path Parameters
deployment_id*Deployment Id
Format
uuidentry_id*Entry Id
Format
uuidQuery Parameters
verify_locally?Verify Locally
Default
trueRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/credentials/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{ "auth_type": "string", "credential_json": "string" }'Empty
{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}