# com.publicdomainrelay.temp.compute.events.vm.delete

> Published by [johnandersen777.bsky.social](https://lexicon.garden/identity/did:plc:5svqtrhheairglgiiyvutzik)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:5svqtrhheairglgiiyvutzik/com.publicdomainrelay.temp.compute.events.vm.delete)
- [Documentation](https://lexicon.garden/lexicon/did:plc:5svqtrhheairglgiiyvutzik/com.publicdomainrelay.temp.compute.events.vm.delete/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:5svqtrhheairglgiiyvutzik/com.publicdomainrelay.temp.compute.events.vm.delete/examples)

## Definitions

### `com.publicdomainrelay.temp.compute.events.vm.delete`

**Type**: `record`

Requests that the provider delete/tear down a provisioned VM — e.g. because its workflow finished, or because its policy engine never came up. Sent by the requester, since the provider treats the VM as a black box and cannot observe these conditions itself.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `reason` | `string` | Yes | Why the VM should be deleted, e.g. 'workflow_complete' or 'policy_engine_never_came_up'. |
| `createdAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "id": "com.publicdomainrelay.temp.compute.events.vm.delete",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "reason",
          "createdAt"
        ],
        "properties": {
          "reason": {
            "type": "string",
            "description": "Why the VM should be deleted, e.g. 'workflow_complete' or 'policy_engine_never_came_up'."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      },
      "description": "Requests that the provider delete/tear down a provisioned VM — e.g. because its workflow finished, or because its policy engine never came up. Sent by the requester, since the provider treats the VM as a black box and cannot observe these conditions itself."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
