Skip to Content

UpdateInputSchema

const UpdateInputSchema: ZodObject<{ expiresAt: ZodOptional<ZodNullable<ZodISODateTime>>; modes: ZodOptional<ZodArray<ZodEnum<{ live: "live"; sandbox: "sandbox"; }>>>; name: ZodOptional<ZodString>; permissions: ZodOptional<ZodArray<ZodEnum<{ "accounts:read": "accounts:read"; "accounts:write": "accounts:write"; "api-keys:read": "api-keys:read"; "api-keys:write": "api-keys:write"; "backups:read": "backups:read"; "backups:write": "backups:write"; "customers:read": "customers:read"; "customers:write": "customers:write"; full: "full"; "logs:read": "logs:read"; "products:read": "products:read"; "products:write": "products:write"; "projects:read": "projects:read"; "projects:write": "projects:write"; read: "read"; "secrets-integrations:read": "secrets-integrations:read"; "secrets-integrations:write": "secrets-integrations:write"; "starred-items:read": "starred-items:read"; "starred-items:write": "starred-items:write"; "subscription-sign-ins:read": "subscription-sign-ins:read"; "subscription-sign-ins:write": "subscription-sign-ins:write"; }>>>; projects: ZodOptional<ZodUnion<readonly [ZodLiteral<"all">, ZodArray<ZodUUID>]>>; }, $strict>;

The server checks the grant the update produces, merged with the stored key.

Last updated on