Update the basic profile (name, phone, city, country, language).
Authorization
bearerAuth AdonisJS access-token guard (middleware.auth({ guards: ["api"] })). Send Authorization: Bearer <oat_…> (issued by /auth/register, /auth/login, /auth/social/{google,apple}, or /auth/guest).
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PATCH "https://example.com/api/v1/me" \ -H "Content-Type: application/json" \ -d '{ "fullName": "Khalid Al-Saud", "phone": "+966555012345", "city": "Riyadh", "country": "SA", "language": "en" }'{ "data": { "user": { "id": "usr_01jq8z4b2k6h7n8m9p0r3s5t7v", "fullName": "Khalid Al-Saud", "email": "[email protected]", "phone": "+966555012345", "avatarFileId": "fil_01jq8z4c0e3p5q7r9s2t4w6x8z", "avatar": { "original": "https://cdn.trackme.sa/u/khalid-original.jpg", "thumb": "https://cdn.trackme.sa/u/khalid-thumb.jpg", "medium": "https://cdn.trackme.sa/u/khalid-medium.jpg" }, "city": "Riyadh", "country": "SA", "status": "active", "types": [ "customer", "owner" ], "preferences": { "cuisines": [ "burgers", "coffee", "shawarma" ], "language": "en" }, "notificationPrefs": { "order": true, "payment": true, "promotion": false }, "language": "en", "createdAt": "2026-04-12T08:14:22.000Z", "updatedAt": "2026-05-18T11:02:09.000Z" }, "ownerBusinessProfile": { "id": "obp_01jq8z4d8a3c5e7g9j2l4n6q8s", "businessName": "Crispy Cart Co.", "ownerFullName": "Khalid Al-Saud", "businessEmail": "[email protected]", "phone": "+966555012345", "city": "Riyadh", "country": "SA", "verificationStatus": "not_required_for_mvp", "trucksOwnedCount": 2 } }, "meta": { "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7" }}{ "error": { "code": "AUTH_REQUIRED", "message": "Authentication is required to access this resource." }, "meta": { "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7" }}{ "error": { "code": "VALIDATION_ERROR", "message": "One or more fields are invalid.", "fields": [ { "path": "email", "rule": "email", "message": "Must be a valid email address." } ] }, "meta": { "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7" }}Show the authenticated user's profile. GET
Previous Page
Delete and anonymize the authenticated account. DELETE
Irreversible self-service deletion. Password accounts send `password`; Google/Apple accounts send `provider` plus a fresh `idToken` matching an identity already linked to the caller. Deletion immediately cancels active orders and subscriptions, revokes every access token and registered device, releases email/phone/social identities for reuse, retains anonymized financial history, and takes owner business content offline. External subscription-provider cancellation is durably queued and retried until successful; no automatic subscription refund is issued.