cURL
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" }
Body: user fields to update.
Clerk session token. Use Authorization: Bearer .
The body is of type object.
object
{ success: true, data: }
Was this page helpful?