Skip to Content

updateProject()

updateProject(_projectId, _data): Promise<Response<{ api?: { links?: Record<string, { href: string; }>; redactions?: object[]; }; authenticationProvider: | appleAppStore | clerk | customServer | firebase | none | oidc | { audiences: string[]; issuerURL: string; type: "oidc"; } | { type: "appleAppStore"; } | { type: "customServer"; } | { customerDeprovisioningPolicy: "completeProductGrants" | "retainProductGrants"; firebaseProjectId: string; type: "firebase"; } | { authorizedParties: string[]; customerDeprovisioningPolicy: "completeProductGrants" | "retainProductGrants"; hasSecretKey: boolean; instanceId: string; issuerURL: string; type: "clerk"; webhook: | { hasSigningSecret: boolean; status: "awaitingVerification" | "verified"; } | null; }; billingProviders: ( | { configuration: { appStoreConnect: { credentialSources?: { privateKey?: ... | ...; sharedSecret?: ... | ...; }; issuerId: string; privateKey: ""; privateKeyId: string; sharedSecret: ""; }; fragile_appStoreConnect: { bundleId: string; }; }; id: string; type: "appleAppStore"; updatedAt: string; } | { configuration: { connect: { accountId?: string | null; credentialSources?: { publishableKey?: ... | ...; secretKey?: ... | ...; }; publishableKey: string; redirectUrls: string[] | null; secretKey: ""; webhookApiVersion?: string | null; webhookId?: string | null; webhookSecret?: "" | null; }; }; id: string; type: "stripe"; updatedAt: string; })[]; conflicts: { clientData: unknown; conflictedAt: number; serverData: unknown; }; createdAt?: string; hidden: boolean; id: string; metadata: { customServerURL?: string | null; freeUsersAllowed: boolean | null; }; name: string; object: "project"; products?: string[]; sandboxMode: boolean; tombstoned?: boolean; tombstonedAt?: string | null; updatedAt?: string; user: string; }>>;

Parameters

_projectId

string

_data

authenticationProvider?

| appleAppStore | clerk | customServer | firebase | none | oidc | { audiences: string[]; issuerURL: string; type: "oidc"; } | { type: "appleAppStore"; } | { type: "customServer"; } | { customerDeprovisioningPolicy: "completeProductGrants" | "retainProductGrants"; firebaseProjectId: string; type: "firebase"; } | { authorizedParties: string[]; customerDeprovisioningPolicy: "completeProductGrants" | "retainProductGrants"; instanceId: string; issuerURL: string; secretKey: string; type: "clerk"; webhook: | { signingSecret: string; status: "awaitingVerification" | "verified"; } | null; } = AuthenticationProviderInputSchema

metadata?

{ customServerURL: string | null; freeUsersAllowed: boolean | null; } = MetadataInputSchema

metadata.customServerURL

string | null = ...

metadata.freeUsersAllowed

boolean | null = ...

name?

string = NameSchema

Last updated on