Delete Resource Using DELETE 1

Delete Resource Using DELETE 1

Deletes the resource with the specified ID and attempts to delete resource from the Cloud Provider.

Request
URI
DELETE
https:////sc2-10-185-6-200.eng.vmware.com/deployment/api/deployments/{depId}/resources/{resourceId}
COPY
Path Parameters
string
depId
Required

Deployment ID

string
resourceId
Required

Resource ID


Responses
200

OK

Returns DeploymentRequest of type(s) application/json
{
    "actionId": "string",
    "approvedAt": "string",
    "blueprintId": "string",
    "cancelable": "boolean",
    "catalogItemId": "string",
    "completedAt": "string",
    "completedTasks": "integer",
    "createdAt": "string",
    "deploymentId": "string",
    "details": "string",
    "dismissed": "boolean",
    "id": "string",
    "initializedAt": "string",
    "name": "string",
    "parentId": "string",
    "requestedBy": "string",
    "resourceName": "string",
    "resourceType": "string",
    "status": "string",
    "totalTasks": "integer",
    "updatedAt": "string"
}
string
actionId
Optional

Identifier of the requested action

string As date-time As date-time
approvedAt
Optional

Time at which the request was approved.

string
blueprintId
Optional

Identifier of the requested blueprint in the form 'UUID:version'

boolean
cancelable
Optional

Indicates whether request can be canceled or not.

string
catalogItemId
Optional

Identifier of the requested catalog item in the form 'UUID:version'

string As date-time As date-time
completedAt
Optional

Time at which the request completed.

integer As int32 As int32
completedTasks
Optional

The number of tasks completed while fulfilling this request.

string As date-time As date-time
createdAt
Optional

Creation time (e.g. date format '2019-07-13T23:16:49.310Z').

string As uuid As uuid
deploymentId
Optional

Deployment id to which the event applies to

string
details
Optional

Longer user-friendly details of the event.

boolean
dismissed
Optional

Indicates whether request is in dismissed state.

string As uuid As uuid
id
Optional

Event identifier

string As date-time As date-time
initializedAt
Optional

Time at which the request was initialized.

object
inputs
Optional

Request inputs

string
name
Optional

Short user-friendly label of the event (e.g. 'shuting down myVM')

string As uuid As uuid
parentId
Optional

Parent event/request identifier

string
requestedBy
Optional

User that initiated the request

string
resourceName
Optional

Optional resource name to which the event applies to

string
resourceType
Optional

Optional resource type to which the event applies to

string
status
Optional

Request overall execution status.

integer As int32 As int32
totalTasks
Optional

The total number of tasks need to be completed to fulfil this request.

string As date-time As date-time
updatedAt
Optional

Last update time (e.g. date format '2019-07-13T23:16:49.310Z').


401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure