Menu
Update User
Update user
PUT
/v1/users/{userId}Use it in a workflow
- Add a step and choose the Talon.One connector.
- Pick the Update User action (under management).
- Fill in the fields below, then reference the result from later steps as
{{updateUser.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"name": "John Doe",
"state": "deactivated",
"isAdmin": false,
"policy": "",
"roles": [
1,
3
],
"applicationNotificationSubscriptions": {}
}
Response
Returns 200 with an object. Read it in later steps with {{updateUser.response.data.<field>}}.
{
"id": 6,
"created": {},
"modified": {},
"email": "john.doe@example.com",
"accountId": 3886,
"name": "John Doe",
"state": "invited",
"inviteToken": "Gy9b8w1irmQtEPo5RmbMmSPheL5h4",
"policy": {
"Role": 127
},
"isAdmin": false,
"roles": [
71
],
"authMethod": "basic_auth"
}
Need more? See the Talon.One guide for connection setup and behaviour shared by every action.
Was this page helpful?