# delete\_project

`imerit_ango.sdk.SDK.`

## delete\_project(project\_id)

Delete a project from your organization.

### Parameters

* **project\_id:** string
  * The unique identifier for the project. You can find the project ID in [the user interface](https://docs.imerit.net/sdk/sdk-documentation/..#project-ids) or retrieve it using the [`list_projects`](https://docs.imerit.net/sdk/sdk-documentation/project-level-sdk-functions/list_projects) function.

Returns:

* **output:** dict
  * A dictionary containing the result of the operation.
  * Including a `status` field indicating whether the request was successful and a `data` field containing the response payload with updated resources produced by the operation.

### Example

{% tabs %}
{% tab title="python" %}

```python
import os
from dotenv import load_dotenv
from imerit_ango.sdk import SDK

load_dotenv('variables.env')
api_key = os.getenv('API_KEY')
project_id = os.getenv('PROJECT_ID')

ango_sdk = SDK(api_key)

sdk_response = ango_sdk.delete_project(project_id=project_id)
```

{% endtab %}

{% tab title="curl" %}

```bash
curl -X DELETE "https://imeritapi.ango.ai/v2/project/$PROJECT_ID" \
  -H "Content-Type: application/json" \
  -H "apikey: $ANGO_API_KEY"
```

{% endtab %}
{% endtabs %}

<details>

<summary>Sample Output</summary>

```
{'data': {'message': 'Project successfully deleted'}, 'status': 'success'}
```

</details>

{% hint style="info" %}
**See also**

[create\_project](https://docs.imerit.net/sdk/sdk-documentation/project-level-sdk-functions/create_project), [list\_projects](https://docs.imerit.net/sdk/sdk-documentation/project-level-sdk-functions/list_projects)
{% endhint %}
