Update the current user's profile (display name)
PATCHhttps://api.instacloud.com/me
Token scope: account — read-only tokens refused (not a GET).
Request body
application/json
| Field | Type | Required | Description |
|---|---|---|---|
name | string | yes |
Responses
200
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
user | object | no | |
user.id | string | yes | Better Auth user id (opaque string, not a UUID) |
user.email | string | null | no | |
user.name | string | null | no | |
user.avatarUrl | string | null | no | |
user.emailVerified | boolean | yes |
400
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
error | string | yes |
401
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
error | string | yes |