# AdminUserAttributes | @supabase/supabase-js
Documentation for @supabase/supabase-js

### Hierarchy

- UserAttributes
  - AdminUserAttributes

## Index

### Properties

- app_metadata
- data
- email
- email_change_token
- email_confirm
- password
- phone
- phone_confirm
- user_metadata

## Properties

### Optional app_metadata

app_metadata?: object

- Defined in node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts:103

A custom data object for app_metadata that.

Only a service role can modify.

Can be any JSON that includes app-specific info, such as identity providers, roles, and other access control information.

### Optional data

data?: object

Inherited from UserAttributes.data

- Defined in node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts:80

A custom data object for user_metadata that a user can modify. Can be any JSON.

### Optional email

email?: string

Inherited from UserAttributes.email

- Defined in node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts:64

The user's email.

### Optional email_change_token

email_change_token?: string

Inherited from UserAttributes.email_change_token

- Defined in node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts:76

An email change token.

### Optional email_confirm

email_confirm?: boolean

- Defined in node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts:109

Sets if a user has confirmed their email address.

Only a service role can modify.

### Optional password

password?: string

Inherited from UserAttributes.password

- Defined in node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts:72

The user's password.

### Optional phone

phone?: string

Inherited from UserAttributes.phone

- Defined in node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts:68

The user's phone.

### Optional phone_confirm

phone_confirm?: boolean

- Defined in node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts:115

Sets if a user has confirmed their phone number.

Only a service role can modify.

### Optional user_metadata

user_metadata?: object

- Defined in node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts:94

A custom data object for user_metadata.

Can be any JSON.

Only a service role can modify.

Note: When using the GoTrueAdminApi and wanting to modify a user's user_metadata, this attribute is used instead of UserAttributes data.

Generated using TypeDoc