---
title: "Deactivate Application"
description: "Documentation for Deactivate Application Command in ZeyOS SDK CLI"
canonical_url: "https://www.zeyos.com/sdk/activity-management/zeysdk-deactivate"
markdown_url: "https://www.zeyos.com/ai/guide/sdk/activity-management/zeysdk-deactivate.md"
section: "sdk"
authority: "guide"
language: "en"
source_repository: "zeyos/sdk-v2"
source_path: "docs/application-activity-management/zeysdk-deactivate.md"
source_revision: "a99897af74253b4dc5af6fecb9301cea0ae18e27"
---

# Deactivate Application

The `deactivate` command disables your ZeyOS application in the current instance while preserving it.

```bash
zeysdk deactivate [options]
```

**Options**

| Option | Description |
|--------|-------------|
| `--verbose` | Show detailed output |

**Process**

1. **Validation**
   - Verifies app directory
   - Checks configuration
   - Validates token

2. **Deactivation**
   - Sets app activity to inactive
   - Updates platform state
   - Confirms deactivation

**Error Handling**

| Error | Description | Resolution |
|-------|-------------|------------|
| Not in app directory | Wrong location | Navigate to app root |
| Config missing | No sync.json found | Run `zeysdk link` |
| Network error | Platform unreachable | Check connectivity |

**Notes**

- App remains installed
- Data is preserved
- Users lose access
- Can be reactivated
- Ideal for maintenance

**Best Practices**

- Deactivate before planned maintenance that affects users
- Confirm the active instance before deactivation
- Communicate downtime before disabling production apps
- Reactivate only after validating the app state
