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

# Delete Consent Purpose

> Marks the existing ConsentPurpose as deleted.

Calls the List agent service SaveConsentPurpose.



## OpenAPI

````yaml /openapi/rest/openapi-v3-List.json delete /api/v1/List/ConsentPurpose/Items/{id}
openapi: 3.0.0
info:
  version: v1-REST
  title: SuperOffice REST API v1
  description: SuperOffice REST API - List
  contact:
    name: SuperOffice DevNet
    url: https://docs.superoffice.com/en/api/index.html
    email: sdk@superoffice.com
servers:
  - url: http://localhost:56350
  - url: https://localhost:56350
security: []
tags: []
externalDocs:
  description: >-
    The SuperOffice DevNet Community has more documentation, examples, and
    discussion forums.
  url: https://community.superoffice.com/en/developer/
paths:
  /api/v1/List/ConsentPurpose/Items/{id}:
    delete:
      tags:
        - List_ConsentPurpose
      summary: Delete Consent Purpose
      description: |-
        Marks the existing ConsentPurpose as deleted.

        Calls the List agent service SaveConsentPurpose.
      operationId: v1ConsentPurposeList_DeleteConsentPurpose
      parameters:
        - name: id
          in: path
          description: The id of ConsentPurpose to be marked as deleted.
          required: true
          schema:
            format: int32
            type: integer
        - name: SO-AppToken
          in: header
          description: >-
            The application token that identifies the partner app. Used when
            calling Online WebAPI from a server.
          required: false
          schema:
            type: string
      responses:
        '204':
          description: No Content
      security:
        - SuperOffice_Password: []
          SuperId_Authentication: []
components: {}

````

## Related topics

- [Delete Consent Purpose Headings](/en/api/reference/restful/rest/list_consentpurpose/delete-consent-purpose-headings.md)
- [NSConsentPurpose](/en/automation/crmscript/reference/CRMScript.NetServer.NSConsentPurpose.md)
- [SuperOffice.WebApi.Data.ConsentPurpose](/en/api/reference/webapi/SuperOffice.WebApi.Data.ConsentPurpose.md)
- [ConsentPurpose](/en/api/archive-providers/reference/consentpurpose.md)
- [Save Consent Purpose](/en/api/reference/restful/agent/list_agent/save-consent-purpose.md)
- [Put Consent Purpose](/en/api/reference/restful/rest/list_consentpurpose/put-consent-purpose.md)
