CreateAPIKeyRequest: {
    applicationId?: string;
    defaultProjectId?: string;
    description: string;
    expiresAt?: Date;
    userId?: string;
}

Type declaration

  • OptionalapplicationId?: string

    ID of the application.

    One-of ('bearer'): at most one of 'applicationId', 'userId' could be set.

  • OptionaldefaultProjectId?: string

    Default Project ID to use with Object Storage.

  • description: string

    Description of the API key (max length is 200 characters).

  • OptionalexpiresAt?: Date

    Expiration date of the API key.

  • OptionaluserId?: string

    ID of the user.

    One-of ('bearer'): at most one of 'applicationId', 'userId' could be set.