---
title: "Delete a consent record"
method: DELETE
path: "/api/v1/consent/{userId}"
tags: ["Consent"]
---

# Delete a consent record

`DELETE /api/v1/consent/{userId}`

## Request

- Base URL: `https://policyforge.co`
- URL: `https://policyforge.co/api/v1/consent/{userId}`
- Auth: HTTP bearer

Permanently delete one consent record owned by your account, for example to honour an erasure request. For this method the path segment is the consent record id (UUID) returned when the consent was recorded or listed, not the end user id.

## Path parameters

- `userId` string, uuid, required

## Response `200`

Consent record deleted

- object
  - `id` string, uuid
  - `status` string

## Other responses

- `400`: Record id missing or not a UUID
- `401`: Missing or invalid API key
- `404`: Resource not found
- `429`: Rate limit exceeded

---

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