**Source URL:** https://limited.veevavault.dev/qualityone/vault-api/api-reference/26.1/logs/sdk-request-profiler/delete-profiling-session

# Delete Profiling Session

Delete an inactive profiling session, which deletes the session and all data associated with the session. Inactive sessions have a `status` of `complete__sys`.

<Endpoint path="/api/{version}/code/profiler/{session_name}" method="DELETE" />

## Headers

| Name | Description |
| --- | --- |
| `Accept` | `application/json` |

## URI Path Parameters

| Name | Description |
| --- | --- |
| `{session_name}` | The `name` of the session, for example, `baseline__c`. |

## Request

<CodeExample title="">
```bash
curl -X DELETE -H "Authorization: {SESSION_ID}" \
https://myvault.veevavault.com/api/v24.3/code/profiler/baseline__c
```
</CodeExample>

## Response

<CodeExample title="">
```json
{
   "responseStatus": "SUCCESS"
}
```
</CodeExample>

## Response Details

On `SUCCESS`, the Vault deletes the specified profiling session and deletes all data associated with the session.

---

**Previous:** [End Profiling Session](/qualityone/vault-api/api-reference/26.1/logs/sdk-request-profiler/end-profiling-session)  
**Next:** [Download Profiling Session Results](/qualityone/vault-api/api-reference/26.1/logs/sdk-request-profiler/download-profiling-session-results)