# Profile API

The Profile operations of the BuildBase HTTP API: method, path, sign-in, request fields, answers and errors for each.

10 operations, 7 fully described. For how this part of BuildBase works, start with the [guide](/users/overview).

| Method | Path                                                                                               | What it does                                              |
| ------ | -------------------------------------------------------------------------------------------------- | --------------------------------------------------------- |
| GET    | [`/api/v1/public/profile`](/http-api/reference/profile/profile-list)                               | Get the signed-in user's profile                          |
| PATCH  | [`/api/v1/public/profile`](/http-api/reference/profile/profile-update)                             | Update the signed-in user's profile                       |
| POST   | [`/api/v1/public/profile/email`](/http-api/reference/profile/profile-email-create)                 | Send a code to confirm a new email address                |
| POST   | [`/api/v1/public/profile/email/confirm`](/http-api/reference/profile/profile-email-confirm-create) | Confirm an email change with the emailed code             |
| POST   | [`/api/v1/public/profile/password`](/http-api/reference/profile/profile-password-create)           | Change the signed-in user's password                      |
| POST   | [`/api/v1/public/profile/phone`](/http-api/reference/profile/profile-phone-create)                 | Send a code to confirm a phone number to add              |
| DELETE | [`/api/v1/public/profile/phone`](/http-api/reference/profile/profile-phone-delete)                 | Remove the phone number from the signed-in user's account |
| POST   | [`/api/v1/public/profile/phone/confirm`](/http-api/reference/profile/profile-phone-confirm-create) | Confirm a phone number with the sent code                 |
| PUT    | [`/api/v1/public/profile/username`](/http-api/reference/profile/profile-username-update)           | Set or change the signed-in user's username               |
| DELETE | [`/api/v1/public/profile/username`](/http-api/reference/profile/profile-username-delete)           | Remove the signed-in user's username                      |

## Related

- [API reference](/http-api/reference): every tag
- [Profile guide](/users/overview)
