# Sync SSH keys

Collection: api
Human docs: https://zei.sh/docs/api

Apply the user's current SSH keys to an existing sandbox runtime.

POST /public/sandboxes/:sandboxId/ssh-keys/sync
Permission: MACHINE_UPDATE.
Call this after registering or removing a user SSH key.
Response: The updated sandbox result.

Example:

```
curl -X POST https://api.zei.sh/api/v1/public/sandboxes/:sandboxId/ssh-keys/sync \
  -H "X-API-Key: $ZEISH_API_KEY"
```
