nylas
    Preparing search index...

    Interface ListGrantsQueryParams

    Interface representing the query parameters for listing grants.

    interface ListGrantsQueryParams {
        before?: number;
        email?: string;
        grantStatus?: string;
        ip?: string;
        limit?: number;
        offset?: number;
        orderBy?: "desc" | "asc";
        provider?: Provider;
        since?: number;
        sortBy?: "createdAt" | "updatedAt";
    }
    Index

    Properties

    before?: number

    Scope grants to a specific point in time by Unix timestamp.

    email?: string

    Filtering your query based on grant email address (if applicable)

    grantStatus?: string

    Filtering your query based on grant email status (if applicable)

    ip?: string

    Filtering your query based on grant IP address

    limit?: number

    The maximum number of objects to return. This field defaults to 10. The maximum allowed value is 200.

    offset?: number

    Offset grant results by this number.

    orderBy?: "desc" | "asc"

    Specify ascending or descending order.

    provider?: Provider

    Filtering your query based on OAuth provider

    since?: number

    Scope grants from a specific point in time by Unix timestamp.

    sortBy?: "createdAt" | "updatedAt"

    Sort entries by field name