capabilities.work

Rotate a grant's refresh token or scopes

One step with Nylas. We can help you get access.

Get something done

Rotate a grant's refresh token or scopes

with Nylas
Works with AI assistants

Use Nylas: its Nylas Manage Grants API lets you rotate a grant's refresh token or scopes in a single step (PATCH /v3/grants/{grantId}). Nylas also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • Can I store a new refresh token on a grant without recreating it?
  • Does updating a grant's scope list change what the provider actually allows?
Say it to your AI assistant
  • Replace the settings on grant {grantId} with {settings}.
  • Update the stored scopes on grant {grantId} to {scope}.
For your developer

PATCH /v3/grants/{grantId} in Nylas Manage Grants API. Full spec on APIs.io.