Skip to Content

ApiKeyConsentRequest

type ApiKeyConsentRequest = object;

The key a client asks the signed-in person to approve: the camelCase form of AdminApiKeyAuthorization.ParsedConsentRequestInput. Unset fields take the consent screen’s defaults: full access, both modes, all projects, a 90-day lifetime.

Properties

device?

readonly device?: string;

The machine the client runs on, shown on the consent screen and in the dashboard.


intent?

readonly intent?: Intent;

lifetime?

readonly lifetime?: Lifetime;

modes?

readonly modes?: readonly LiveOrSandboxMode[];

name?

readonly name?: string;

permissions?

readonly permissions?: readonly Permission[];

projects?

readonly projects?: ProjectSelection;

replaces?

readonly replaces?: string;

The client’s previous key, revoked when the code is exchanged. Login only.

Last updated on