Instances - Delete Instance
Deletes a Common Data Service environment in your Office 365 tenant.
For a list of region-specific service URLs, see Service URL
DELETE {ServiceUrl}/api/v1.2/Instances/{id}/Delete
DELETE {ServiceUrl}/api/v1.2/Instances/{id}/Delete?validate={validate}
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
id
|
path | True |
|
ID of the Common Data Service environment to delete. |
validate
|
query |
|
Indicates whether to validate or delete an instance. Set True to validate; set False to delete. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
If validate was set, validation was executed. Media Types: "application/json", "text/json" |
|
202 Accepted |
Delete Instance Operation Started. Media Types: "application/json", "text/json" |
|
400 Bad Request |
There was an issue either validating or starting the delete operation. Media Types: "application/json", "text/json" |
|
404 Not Found |
NotFound Media Types: "application/json", "text/json" |
Definitions
Item |
Set of values to define an error or information item |
Operation |
The operation context object |
Operation |
State of the operation |
Operation |
Status of the operation |
ItemDescription
Set of values to define an error or information item
Name | Type | Description |
---|---|---|
Code |
|
Code of the item |
Description |
|
Description of the item |
Subject |
|
Subject of the item |
OperationContext
The operation context object
Name | Type | Description |
---|---|---|
Items |
|
The item object |
OperationState
State of the operation
Name | Type | Description |
---|---|---|
Aborted |
|
|
Aborting |
|
|
Cancelled |
|
|
Cancelling |
|
|
Conflict |
|
|
Deleted |
|
|
Deleting |
|
|
Failed |
|
|
FailedToCreate |
|
|
None |
|
|
NotFound |
|
|
NotStarted |
|
|
Pending |
|
|
Ready |
|
|
Running |
|
|
Succeeded |
|
|
Tombstone |
|
OperationStatus
Status of the operation
Name | Type | Description |
---|---|---|
Context |
The operation context object |
|
Errors |
Set of values to display errors during an operation |
|
Information |
Set of values to display information during an operation |
|
OperationId |
|
ID of the operation |
OperationLocation |
|
Location of the operation |
ResourceLocation |
|
Location of the resource |
Status |
State of the operation |