System Credentials
Update System Credential
Use this API to update details for an existing credential.
put/v2/credentials/{type}
Path parameters
type'HTTP' required
Specify the connector type.
Query parameters
namestring required
Name of the credential to update.
Request body
Example request
{
"name": "my-prod-credentials",
"authType": "OAUTH2_TOKEN",
"authContext": {
"headers": {
"Content-Type": "application/x-www-form-urlencoded"
},
"type": "BASIC",
"hostName": "example.com",
"testUrl": "https://example.com/sample/test",
"connectorType": "HTTP",
"mtlsEnabled": true,
"clientCertificate": "-----BEGIN CERTIFICATE-----\nMIIDazCCAlOgAwIBAgIUJlq+zz4...\n-----END CERTIFICATE-----",
"privateKey": "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0...\n-----END PRIVATE KEY-----",
"privateKeyPassword": "keypassword",
"serverRootCACertificate": "-----BEGIN CERTIFICATE-----\nMIIDazCCAlOgAwIBAgIUJlq+zz4...\n-----END CERTIFICATE-----",
"userName": "Credential_Username",
"password": "Credential_Password"
},
"description": "Used for authenticating with the production environment",
"integrationName": "systemName"
}Response
Accepted