---
title: "Revoke Permission"
method: DELETE
path: "/x402/permissions/{permissionHash}"
tags: ["X402 - Permissions"]
---

# Revoke Permission

`DELETE /x402/permissions/{permissionHash}`

## Request

- Base URL: `https://api.sandbox.nevermined.app/api/v1`
- URL: `https://api.sandbox.nevermined.app/api/v1/x402/permissions/{permissionHash}`
- Auth: HTTP bearer

Invalidates a delegated permission, preventing further use.

## Path parameters

- `permissionHash` string, required

## Response `200`

Permission revoked

- RevokePermissionResponse: Result of `DELETE /x402/permissions/{permissionHash}`. On success the endpoint returns `{ "success": true }` and populates none of the optional fields; a failure is reported as an error response, not as `success: false`.
  - `success` boolean, required: Indicates whether the API call was successful
  - `message` string: Message describing the result of the API call
  - `txHash` string: Blockchain transaction hash associated with the API call
  - `httpStatus` integer: HTTP status code of the API response
  - `data` object: Additional parameters related to the API call
  - `when` string, date-time: Timestamp when the API call was made

## Other responses

- `401`: Unauthorized
- `404`: Permission not found

---

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