@@ -165,6 +165,12 @@ You can filter by [custom attributes](custom_attributes.md) with:
...
@@ -165,6 +165,12 @@ You can filter by [custom attributes](custom_attributes.md) with:
GET /users?custom_attributes[key]=value&custom_attributes[other_key]=other_value
GET /users?custom_attributes[key]=value&custom_attributes[other_key]=other_value
```
```
You can include the users' [custom attributes](custom_attributes.md) in the response with:
```
GET /users?with_custom_attributes=true
```
## Single user
## Single user
Get a single user.
Get a single user.
...
@@ -245,6 +251,12 @@ Parameters:
...
@@ -245,6 +251,12 @@ Parameters:
}
}
```
```
You can include the user's [custom attributes](custom_attributes.md) in the response with:
```
GET /users/:id?with_custom_attributes=true
```
## User creation
## User creation
Creates a new user. Note only administrators can create new users. Either `password` or `reset_password` should be specified (`reset_password` takes priority).
Creates a new user. Note only administrators can create new users. Either `password` or `reset_password` should be specified (`reset_password` takes priority).