Edit user
PATCH/users/:user_id
Edit user
Request
Path Parameters
user_id stringrequired
Header Parameters
Content-Type stringrequired
Example: application/x-www-form-urlencoded
Accept stringrequired
Example: application/json
- application/x-www-form-urlencoded
Body
fullname stringrequired
Full name of user
Example:
Jack Black
username stringrequired
DIsplay name of user
Example:
jackblack12
tag_ids[] stringrequired
Metadata tags user
Example:
234
category_ids[] stringrequired
Metadata categories users
Example:
7456
group_ids[] stringrequired
Groups in which add user
Example:
687
Responses
- 200
- 400
- 401
- 404
Response Headers
- application/json
- Schema
- Example (from schema)
- 1
Schema
status stringrequired
id stringrequired
username stringrequired
email stringrequired
date stringrequired
language stringrequired
location stringrequired
fullname stringrequired
email_marketing stringrequired
custom_fields stringrequired
{
"status": "string",
"id": "string",
"username": "string",
"email": "string",
"date": "string",
"language": "string",
"location": "string",
"fullname": "string",
"email_marketing": "string",
"custom_fields": "string"
}
OK
{
"status": "<string>",
"id": "<string>",
"username": "<string>",
"email": "<string>",
"date": "<string>",
"language": "<string>",
"location": "<string>",
"fullname": "<string>",
"email_marketing": "<string>",
"custom_fields": "<string>"
}
Response Headers
- application/json
- Schema
- Example (from schema)
- 1
Schema
status stringrequired
{
"status": "string"
}
Bad Request
{
"status": "<string>"
}
Response Headers
- application/json
- Schema
- Example (from schema)
- 1
Schema
status stringrequired
{
"status": "string"
}
Unauthorized
{
"status": "<string>"
}
Response Headers
- application/json
- Schema
- Example (from schema)
- 1
Schema
status stringrequired
{
"status": "string"
}
Not Found
{
"status": "<string>"
}
Loading...