---
title: "Remove the specified contract."
method: DELETE
path: "/contracts/{contract_id}"
tags: ["contracts"]
---

# Remove the specified contract.

`DELETE /contracts/{contract_id}`

You need to be a user with `TenantAdmin` role to access this resource.
* Accounts (Credentials)
* Agents
* DataSamples
* InviteTokens
* Flow’s DynamicMetadata
* Flow’s DynamicSelectModel
* Flow’s ExecStat
* Flow’s ExecutionResult
* Flow’s MarathonEvent
* Flow’s RequestBin
* Flow’s TaskHooksData
* Flow’s TaskStatError
* Flow’s TaskVersion
* Workspaces
* Teams
* Repos
* RepoBuilds
* User accounts who were only the members of the deleted Contract’s scope, as well as ssh keys associated with him/her.

## Path parameters

- `contract_id` string, required

## Response `204`

No Content

- object

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/elastic/apis/elastic-io-rest-api-documentation-v2.md) · [All operations](https://skmtc.net/elastic/apis/elastic-io-rest-api-documentation-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/elastic-io-rest-api-documentation-v2/revisions/411f9f98c01e/schema)
