Retool’s platform now includes AppGen AI capabilities: build full-stack internal tools from a prompt, on your own data. Powered by Neon
/Neon Auth/SDKs & API/Next.js SDK/Types/TeamPermission

TeamPermission

beta

Neon Auth TeamPermission object reference

This is a reference for the TeamPermission type in the Next.js SDK.

TeamPermission

The TeamPermission object represents a permission that a user has within a team in Neon Auth. Currently, it contains only an id to specify the permission.

You can get TeamPermission objects by calling functions such as user.getPermission(...) or user.listPermissions().

Type of contents

type TeamPermission = {
  id: string;
};

teamPermission.id

The identifier of the permission as a string.

declare const id: string;
Was this page helpful?