Skip to main content
PATCH
/
user
Update user information
curl --request PATCH \
  --url https://api.diversion.dev/v0/user \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "image": "<string>",
  "email": "[email protected]",
  "full_name": "<string>",
  "name": "<string>",
  "tier": "EDUCATION"
}
'
{}

Authorizations

Authorization
string
header
required

This API uses OAuth 2 with the implicit grant flow

Body

application/json

User details

id
string
required
image
string

URL of the user image. If updating the image, could be a base64 encoded image.

Maximum string length: 524288
email
string<email>
full_name
string
name
string
tier
enum<string>

The tier of the user

Available options:
EDUCATION,
INDIE,
PROFESSIONAL,
ENTERPRISE,
UNKNOWN

Response

Request completed successfully

The response is of type object.