openapi: 3.1.0 info: title: Nylas API (v3) Admin Grants API description: 'Nylas provides unified APIs for email, calendar, contacts, and scheduling across many underlying providers (Google, Microsoft, IMAP, etc.). Resources are scoped to a grant that represents an end-user connection. Endpoint scaffold below is derived from the public v3 developer documentation at https://developer.nylas.com/docs/. ' version: '3.0' contact: name: Nylas Developers url: https://developer.nylas.com servers: - url: https://api.us.nylas.com description: United States region - url: https://api.eu.nylas.com description: European Union region security: - BearerAuth: [] tags: - name: Grants paths: /v3/grants: get: tags: - Grants summary: List grants responses: '200': description: A list of grants associated with the application. /v3/grants/{grant_id}: parameters: - in: path name: grant_id required: true schema: type: string get: tags: - Grants summary: Retrieve a grant responses: '200': description: The grant record. delete: tags: - Grants summary: Delete a grant responses: '200': description: The grant was deleted. components: securitySchemes: BearerAuth: type: http scheme: bearer description: 'Server-side requests use an API key issued in the Nylas dashboard and presented as a Bearer token. User-level requests use an access token obtained via the OAuth 2.0 flow. '