---
title: "Delete commission log entry"
method: DELETE
path: "/api/files/sales/{saleGuid}/commissionLog/{commentId}"
tags: ["Sale Additional Commissions Information Log"]
---

# Delete commission log entry

`DELETE /api/files/sales/{saleGuid}/commissionLog/{commentId}`

## Request

- Base URL: `https://api.skyslope.com`
- URL: `https://api.skyslope.com/api/files/sales/{saleGuid}/commissionLog/{commentId}`
- Auth: OpenID Connect (`https://example.com/.well-known/openid-configuration`)

Soft-deletes an existing commission log entry. Broker, auditor, and trial broker can delete any note; agents can only delete their own.

### Validation & Requirements
#### Required Parameters
- `saleGuid` (path, string, format=guid)
- `commentId` (path, integer, format=int32)

#### Required JSON Body Fields
- None

#### Validations
- Invalid GUID values in `*Guid`/`*Guids` fields return `422 Unprocessable Entity`.
- Invalid date values in `*date*` fields return `422 Unprocessable Entity`.
- Missing required request body returns `422 Unprocessable Entity` with `Missing request body.`.
- Additional business-rule validation may return `422` with details in the `errors` array.

## Path parameters

- `saleGuid` string, guid, required
- `commentId` integer, required

## Response `200`

- LinkedResponseOfDeleteCommissionLogResponse
  - `value` DeleteCommissionLogResponse
    - `saleGuid` string, guid
    - `commentId` integer
  - `warnings` string[], nullable
  - `links` Link[], nullable
    - `href` string, nullable
    - `rel` string, nullable
    - `method` string, nullable

## Other responses

- `403`
- `404`

---

[API](https://skmtc.dev/skyslope/apis/skyslope-api.md) - [All operations](https://skmtc.dev/skyslope/apis/skyslope-api/llms.txt) - [OpenAPI document](https://skmtc.dev/skyslope/apis/skyslope-api/revisions/77341f0c0550?raw)
