---
title: "Revoke a grant on this site"
method: DELETE
path: "/api/sites/{slug}/access/{grantId}"
tags: ["site-controller"]
---

# Revoke a grant on this site

`DELETE /api/sites/{slug}/access/{grantId}`

## Request

- Base URL: `https://api.pagegoat.com`
- URL: `https://api.pagegoat.com/api/sites/{slug}/access/{grantId}`
- Auth: HTTP bearer

## Path parameters

- `slug` string, required
- `grantId` string, uuid, required

## Response `204`

Revoked.

## Other responses

- `404`: No such site, or not an admin on it.

---

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