Update a user

Prev Next
Put
/users/{user_id}

Update a user

Security
OAuth

Laravel passport oauth2 security.

FlowAuthorization Code
Authorization URLhttp://processmaker.test/oauth/authorize
Token URLhttp://processmaker.test/oauth/token
Refresh URLhttp://processmaker.test/token/refresh
HTTP
Type bearer
Path parameters
user_id
integerRequired

ID of user to return

Body parameters
Expand All
object
email
string (email)

The attributes that are mass assignable.

firstname
string
lastname
string
username
string
password
string
address
string
city
string
state
string
postal
string
country
string
phone
string
fax
string
cell
string
title
string
timezone
string
datetime_format
string
language
string
is_administrator
boolean
expires_at
string
loggedin_at
string
remember_token
string
status
string
Valid values[ "ACTIVE", "INACTIVE", "SCHEDULED", "OUT_OF_OFFICE", "BLOCKED" ]
fullname
string
avatar
string
media
Array of object (media)
object
id
integer (id)

Represents media files stored in the database

model_id
integer (id)
model_type
string (id)
collection_name
string
name
string
file_name
string
mime_type
string
disk
string
size
integer
manipulations
object
custom_properties
object
responsive_images
object
order_column
integer
created_at
string (date-time)
updated_at
string (date-time)
birthdate
string (date)
delegation_user_id
string (id)
manager_id
string (id)
meta
object
force_change_password
boolean
Responses
204

success

404

Not Found

object
error
string
422

Unprocessable Entity

Expand All
object
message
string
errors
object