Deplo
API Reference

Update authenticated user profile

PATCH
/auth/profile
AuthorizationBearer <token>

Enter your JWT token

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

name?string

User full name

Response Body

application/json

curl -X PATCH "https://loading/auth/profile" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "user-id",
  "phone": "+40770547858",
  "name": "John Doe Updated",
  "email": "[email protected]",
  "createdAt": "2024-01-01T00:00:00.000Z",
  "updatedAt": "2024-01-02T00:00:00.000Z"
}
Empty
Empty