Skip to main content
PATCH
/
api
/
user
Update user
curl --request PATCH \
  --url https://app.d-sports.org/api/user \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "success": false,
  "error": "Authentication required",
  "code": "UNAUTHORIZED"
}

Authorizations

Authorization
string
header
required

Clerk session token. Use Authorization: Bearer .

Body

application/json

The body is of type object.

Response

{ success: true, data: }