Skip to main content
PUT
/
v1
/
users
/
:id
Update User
curl --request PUT \
  --url https://api.oviond.com/v1/users/:id \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "fullname": "John Doe",
  "role": "admin",
  "clients": []
}
'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
fullname
string
Example:

"John Doe"

role
enum<string>
Available options:
admin,
clients,
readonly
Example:

"admin"

clients
string[]
Example:
[]

Response

User updated

success
enum<boolean>
required
Available options:
true