Skip to main content
PUT
/
v1
/
ui
/
admin
/
users
/
{id}
Update user (Admin only)
curl --request PUT \
  --url https://api.example.com/v1/ui/admin/users/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "metadata": {},
  "name": "<string>",
  "email": "jsmith@example.com",
  "type": "provider",
  "providerId": "<string>",
  "providerRole": "owner"
}
'
{}

Path Parameters

id
string
required

User ID

Body

application/json
metadata
object
required
name
string
Minimum string length: 1
email
string<email>
type
enum<string>
Available options:
provider,
admin,
super_admin
providerId
string
providerRole
enum<string>
Available options:
owner,
admin,
member

Response

User updated successfully

The response is of type object.