Show / Hide Table of Contents

Class DeleteCompartmentRequest

Inheritance
System.Object
DeleteCompartmentRequest
Implements
IOciRequest
Namespace: Oci.IdentityService.Requests
Assembly: OCI.DotNetSDK.Identity.dll
Syntax
public class DeleteCompartmentRequest : object, IOciRequest
Examples

Click here to see an example of how to use DeleteCompartment request.

Properties

CompartmentId

Declaration
public string CompartmentId { get; set; }
Property Value
Type Description
System.String

The OCID of the compartment.

Remarks

Required

IfMatch

Declaration
public string IfMatch { get; set; }
Property Value
Type Description
System.String

For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

Implements

IOciRequest
In This Article
Back to top