Error
A valid request URL is required to generate request examples{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}API Reference
Disconnect an AI assistant from a store
Revokes one grant from GET /mcp/grants and every token issued under it: the assistant’s next call is refused, and it has to be connected again. Idempotent: an unknown or already revoked grant also answers 204.
DELETE
/
mcp
/
grants
/
{grant_id}
Error
A valid request URL is required to generate request examples{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Authorizations
Shopify App Bridge session token of the embedded Depict: Search & Merchandising app. The shop in the token determines the merchant; merchant_id parameters must belong to that shop.
Path Parameters
The grant_id from GET /mcp/grants.
Pattern:
^[A-Za-z0-9_-]+$Query Parameters
Lite merchant id, e.g. shopify-<shop id>.
Response
Revoked, or there was nothing to revoke.
Was this page helpful?

