---
title: "Cancel a session"
url: "https://real-estate-agency.apim.eu/apis/evaluation-sessions/versions/b3c12e5c-39d5-45ea-824c-783ae0f56765/operations/cancelSession"
---

> Full API specification: https://real-estate-agency.apim.eu/apis/evaluation-sessions/versions/b3c12e5c-39d5-45ea-824c-783ae0f56765.md

# Cancel a session

`DELETE` `/sessions/{sessionId}`

Operation ID: `cancelSession`

## Path parameters

- `sessionId` (string, required)

## Responses

- `204` - Cancelled; attendees have been notified
- `404` - Record not found

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Evaluation Sessions
  version: 1.0.0
servers:
  - url: https://api.nexora.example/v1
    description: Production
  - url: https://sandbox.api.nexora.example/v1
    description: Sandbox
paths:
  /sessions/{sessionId}:
    parameters:
      - name: sessionId
        in: path
        required: true
        schema:
          type: string
          example: sess_9a44
    delete:
      tags:
        - Sessions
      summary: Cancel a session
      operationId: cancelSession
      responses:
        "204":
          description: Cancelled; attendees have been notified
        "404":
          $ref: "#/components/responses/NotFound"
security:
  - apiKey: []
components:
  responses:
    NotFound:
      description: Record not found
      content:
        application/json:
          schema:
            $ref: "#/components/schemas/Error"
  schemas:
    Error:
      type: object
      description: Uniform error format across all Nexora AI APIs.
      required:
        - code
        - message
      properties:
        code:
          type: string
          example: validation_failed
        message:
          type: string
          example: The session start time is missing.
        details:
          type: array
          items:
            $ref: "#/components/schemas/ErrorDetail"
    ErrorDetail:
      type: object
      properties:
        field:
          type: string
          example: start
        reason:
          type: string
          example: missing
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: apikey
      description: |
        Every call carries an API key in the `apikey` header. You generate the
        key in the Nexora AI portal under "My Apps"; it's shown exactly once.

        Each key has the scopes it's allowed to use attached to it. If one is
        missing, the API responds with `403` and `code: "scope_missing"`; the
        missing scope is in `details[].field`.
```
