> ## Documentation Index
> Fetch the complete documentation index at: https://apidocs.sesametime.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete contract type

> Delete a contract type of the company catalog. Default types shared by every company cannot be deleted, nor can a type used by a contract or an annex.

Version:
v4


## OpenAPI

````yaml openapi-v2.json DELETE /contract/v4/contract-types/{contractTypeId}
openapi: 3.0.0
info:
  title: Sesame Public API v2
  description: >-
    Public API v2 — additive surface `/public/{context}/v{N}`,
    endpoint-versioned from v4
  version: 1.0.0
servers:
  - url: https://api.sesamehr.com
    description: Production
security:
  - Bearer: []
paths:
  /contract/v4/contract-types/{contractTypeId}:
    delete:
      tags:
        - Contract Types
      summary: Delete contract type
      description: >-
        Delete a contract type of the company catalog. Default types shared by
        every company cannot be deleted, nor can a type used by a contract or an
        annex.
      operationId: DeleteContractType
      parameters:
        - name: contractTypeId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '204':
          description: The contract type was deleted.
        '401':
          description: Missing or invalid API key
        '403':
          description: API consumer lacks permission over the requested resource
        '422':
          description: Validation error
components:
  securitySchemes:
    Bearer:
      type: http
      description: 'Sesame Public API consumer token (Authorization: Bearer <token>)'
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.