Grants

public final class Grants extends Resource<Grant>

Nylas Grants API

The Nylas Grants API allows for the management of grants.

Parameters

client

The configured Nylas API client

Constructors

Link copied to clipboard
public Grants Grants(NylasClient client)

Functions

Link copied to clipboard
public final Response<Grant> create(CreateGrantRequest requestBody)

Create a Grant via Custom Authentication

Link copied to clipboard
public final DeleteResponse destroy(String grantId)

Delete a Grant

Link copied to clipboard
public final Response<Grant> find(String grantId)

Return a Grant

Link copied to clipboard
public final ListResponse<Grant> list()

Return all Grants

Link copied to clipboard
public final Response<Grant> update(String grantId, UpdateGrantRequest requestBody)

Update a Grant