App Users
Setting Actor Property Values on an App User
Sets or unsets pre-registered Actor Property values on an App User. The body must contain a properties object mapping property names to string values or null. Sending null for a property unsets it.
Returns the extended App User, including a properties object containing all currently set property values.
Requires field_key.update permission.
patch/v1/projects/{projectId}/app-users/{id}
Path parameters
idnumber required
The numeric ID of the App User
projectIdnumber required
The numeric ID of the Project
Request body
Example request
{
"properties": {
"region": "North",
"supervisor": null
}
}Response
Returns the extended App User with the updated properties.
Example response
{
"createdAt": "2018-04-18T23:19:14.802Z",
"displayName": "My Display Name",
"id": 115,
"updatedAt": "2018-04-18T23:42:11.406Z",
"deletedAt": "2018-04-18T23:42:11.406Z",
"token": "d1!E2GVHgpr4h9bpxxtqUJ7EVJ1Q$Dusm2RBXg8XyVJMCBCbvyE8cGacxUx3bcUT",
"projectId": 1,
"createdBy": {
"createdAt": "2018-04-18T23:19:14.802Z",
"displayName": "My Display Name",
"id": 115,
"updatedAt": "2018-04-18T23:42:11.406Z",
"deletedAt": "2018-04-18T23:42:11.406Z"
},
"lastUsed": "2018-04-14T08:34:21.633Z",
"properties": {
"region": "North",
"supervisor": "Alice"
}
}