Skip to content

Update user info by admin

PATCH
/admin/users/{id}

Update user’s information by admin.

AdminUpdateUserRequest

object
accountStanding

They are the same thing, UserStatus will replace AccountStanding if both exists

string
blocked
authorID

AuthorID is the ID of the user who is making the request

string
12345678
email
string
ivan+rdh+fl@joingotu.com
emailStatus
string
Allowed values: not-verified verified existing-user
verified
firstName
string
Jane
lastName
string
Doe
passwordHash
string
passwordHash
phone
string
+6282243350992
source
string
app
userStatus
string
blocked
userType
string
Allowed values: unassigned DNT HYG ADM
HYG

No Content

Bad request

object
error
string
some meaningful error message

Forbidden

object
error
string
some meaningful error message

Internal server error

object
error
string
some meaningful error message