Skip to content
ProductCraft
DocsPricingChangelog
Sign inOpen the console
Console

Available now

  • AuthSign-in, organizations and roles
  • MailTransactional email on your domain
  • WaitlistWaitlists without the spreadsheet
  • SocialFeeds, follows, ranking
  • TrawlTurn web pages into JSON
  • FlagsFeature flags evaluated in your app
  • NotifyInbox, email and push in one call
PLATFORMSeven products, one workspaceOne account and one API key for all seven.See the lineup→
ProductCraft

Available now

  • AuthSign-in, organizations and roles
  • MailTransactional email on your domain
  • WaitlistWaitlists without the spreadsheet
  • SocialFeeds, follows, ranking
  • TrawlTurn web pages into JSON
  • FlagsFeature flags evaluated in your app
  • NotifyInbox, email and push in one call
  • Docs
  • Pricing
  • Changelog
Sign in
← Auth API reference

Auth API · Consumer-Agent-Access

delete/{app_slug}/v1/agent-access/grants/{grant_id}Auth

Disconnect an end user's agent

Revokes the connection at once (refresh stops, introspection answers `{"active": false}`), whoever made it. Audited as `agent_access.grant.revoked` with reason `app` and the PAK as actor; record who asked for it in your own trail. Requires `auth.agent_access.grants.manage` on the app.

Path parameters

app_slug*string

The app slug.

grant_id*string

The connection id (`agr_…`).

Response · 204

Disconnected.

More in Consumer-Agent-Access

  • get/{app_slug}/v1/agent-access/configRead this app's agent access settings
  • put/{app_slug}/v1/agent-access/configPush this app's agent access settings
  • get/{app_slug}/v1/agent-access/grantsList the app's agent connections (all end users)
  • delete/{app_slug}/v1/agent-access/grants/{grant_id}Disconnect an end user's agent
  • post/{app_slug}/v1/agent-access/introspectVerify an agent access token (RFC 7662 shape)
  • get/{app_slug}/v1/agent-access/authorizations/{handle}Read a pending agent authorization (consent screen)
  • post/{app_slug}/v1/agent-access/authorizations/{handle}/approveApprove an agent authorization
  • post/{app_slug}/v1/agent-access/authorizations/{handle}/denyDeny an agent authorization
  • get/{app_slug}/v1/me/agent-grantsList the signed-in user's connected agents
  • delete/{app_slug}/v1/me/agent-grants/{grant_id}Disconnect an agent
← List the app's agent connections (all end users)Verify an agent access token (RFC 7662 shape) →
ProductCraft

Backend building blocks for you and your AI agents.

Products

  • Auth
  • Mail
  • Waitlist
  • Social
  • Trawl
  • Flags
  • Notify

Developers

  • Documentation
  • Auth docs
  • Mail docs
  • Waitlist docs
  • Social docs
  • Trawl docs
  • Flags docs
  • Notify docs
  • SDKs
  • MCP

Resources

  • npm
  • GitHub
  • Changelog
  • Status
  • Roadmap

Company

  • Pricing
  • Contact

Legal

  • Privacy
  • Terms

© 2026 ProductCraft. All rights reserved.

Made for builders. hello@productcraft.co