Class UpdateSmtpCredentialRequest
Implements
Inherited Members
Namespace: Oci.IdentityService.Requests
Assembly: OCI.DotNetSDK.Identity.dll
Syntax
public class UpdateSmtpCredentialRequest : IOciRequest
Examples
Click here to see an example of how to use UpdateSmtpCredential request.
Properties
IfMatch
Declaration
[HttpConverter(TargetEnum.Header, "if-match")]
public string IfMatch { get; set; }
Property Value
Type | Description |
---|---|
string | For optimistic concurrency control. In the PUT or DELETE call for a resource, set the |
SmtpCredentialId
Declaration
[Required(ErrorMessage = "SmtpCredentialId is required.")]
[HttpConverter(TargetEnum.Path, "smtpCredentialId")]
public string SmtpCredentialId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the SMTP credential. |
Remarks
Required
UpdateSmtpCredentialDetails
Declaration
[Required(ErrorMessage = "UpdateSmtpCredentialDetails is required.")]
[HttpConverter(TargetEnum.Body)]
public UpdateSmtpCredentialDetails UpdateSmtpCredentialDetails { get; set; }
Property Value
Type | Description |
---|---|
UpdateSmtpCredentialDetails | Request object for updating a SMTP credential. |
Remarks
Required
UserId
Declaration
[Required(ErrorMessage = "UserId is required.")]
[HttpConverter(TargetEnum.Path, "userId")]
public string UserId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the user. |
Remarks
Required