Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 4 additions & 57 deletions main/docs/manage-users/my-account-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -103,19 +103,19 @@ The My Account API supports the following scopes:
</thead>
<tbody>
<tr>
<td><code>create:me:authentication-methods</code></td>
<td><code>create:me:authentication_methods</code></td>
<td>Allows the user to enroll a new authentication method.</td>
</tr>
<tr>
<td><code>read:me:authentication-methods</code></td>
<td><code>read:me:authentication_methods</code></td>
<td>Allows the user to view existing authentication methods.</td>
</tr>
<tr>
<td><code>update:me:authentication-methods</code></td>
<td><code>update:me:authentication_methods</code></td>
<td>Allows the user to modify existing authentication methods.</td>
</tr>
<tr>
<td><code>delete:me:authentication-methods</code></td>
<td><code>delete:me:authentication_methods</code></td>
<td>Allows the user to modify existing authentication methods.</td>
</tr>
<tr>
Expand Down Expand Up @@ -893,59 +893,6 @@ dataTask.resume()
```
</AuthCodeGroup>

## Endpoints

<Callout icon="file-lines" color="#0EA5E9" iconType="regular">

The My Account API functionality is currently limited to [Native Passkey Enrollment](/docs/native-passkeys-api). Auth0 will add support for more self-service capabilities in the future.

</Callout>

#### Authentication methods

##### Enroll an authentication method

Allows the user to enroll a new authentication method (such as a passkey).

**ENDPOINT**

`POST https://{yourDomain}/me/v1/authentication-methods`

**SCOPES**

`create:me:authentication-methods`

**BODY PARAMETERS**

<table class="table"><thead>
<tr>
<th><strong>Parameter</strong></th>
<th><strong>Data type</strong></th>
<th><strong>Required?</strong></th>
<th><strong>Description</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td><code>type</code></td>
<td>string</td>
<td>Required</td>
<td>The type of authentication method. Available values: <code>passkey</code>.</td>
</tr>
<tr>
<td><code>connection</code></td>
<td>string</td>
<td>Optional</td>
<td>The name of the connection on which to create the new authentication method.</td>
</tr>
<tr>
<td><code>identity_user_id</code></td>
<td>string</td>
<td>Optional</td>
<td>The identifier of the current user identity. Used with linked accounts.</td>
</tr>
</tbody>
</table>

## Rate limits

Expand Down