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

# 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"></Endpoint>

## Headers {#headers}

<FieldTable>
| Name | Description |
| --- | --- |
| `Accept` | `application/json` |
</FieldTable>

## URI Path Parameters {#uri-path-parameters}

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

## Request {#request}

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

```
</CodeExample>

## Response {#response}

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

```
</CodeExample>

## Response Details {#response-details}

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



---

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