---
title: "Archive employment"
method: DELETE
path: "/v1/sandbox/employments/{employment_id}"
tags: ["Sandbox"]
---

# Archive employment

`DELETE /v1/sandbox/employments/{employment_id}`

Archives an employment, setting its status to `archived`.

This endpoint is only available in Sandbox and allows partners to clean up test
employees during automated E2E testing without requiring Remote manual intervention.

This endpoint will respond with a 404 outside of the Sandbox environment.

## Path parameters

- `employment_id` string, required

## Headers

- `Authorization` string, required

## Response `200`

Success

- SuccessResponse — A generic success response returned by operations that don't produce a specific resource (e.g., updates, deletes).
  - `data` object, required
    - `status` string — The result status. Always `"ok"` for successful operations.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `422` — Unprocessable Entity
- `429` — Too many requests

---

[API](https://skmtc.net/remote-com/apis/remote.md) · [All operations](https://skmtc.net/remote-com/apis/remote/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/remote-com/remote/revisions/7e6a0c61ac82/schema)
