Updates the API credentials used to connect to the custodian provider. Validates the new credentials before applying the update.
The unique identifier of the custodian to update.
The request containing the new API credentials.
Request to rotate the API credentials for a custodian.
Identifier of the tenant that owns the custodian.
1024
Identifier of the custodian whose credentials are being rotated.
42
Replacement API key issued by the custodian provider.
"6f58c12d-9d77-47d2-9b7e-8efcf2cb5f15"
Replacement secret API key that complements the primary key.
"super-secret-key"
API keys updated successfully.
Wrapper for API operation results containing success status, error information, and return value.
True if the operation completed successfully, false otherwise.
true
True if the operation failed, false otherwise.
false
Error information returned when the operation fails.
{
"code": "ValidationError",
"message": "The request parameters failed validation.",
"info": [
"The Name field is required.",
"The Id field must be greater than 0."
]
}The result value returned when the operation is successful.
{
"success": true,
"isWrongCredentials": false
}