v51

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-01140309549.5 KB
users

Update a user

Update a user. Only the authenticated user themselves and server admins have access to this endpoint. Some fields can only be updated by an admin. To manage users within your organization, use the organization members endpoints.

patch/v0/users/{user}

Path parameters

userstring required

The slug or UUID for a user.

Request body

adminboolean nullable

Update whether the user is an admin. Must be an admin to update this field.

emailstring
lockedboolean nullable

Update whether the user is locked. Must be an admin to update this field.

namestring
slugstring

Response

successful operation

adminboolean required
createdstring date-time
emailstring required
lockedboolean required
namestring required
slugstring required
uuidstring uuid required