userUpdate

Graphql fields and variables for the userUpdate mutation

Update a user

Scope required: security:write

For a complete list of input attributes see the UserAttributes type

mutation userUpdate ($id: ID!, $attributes: UserAttributes!) {
  userUpdate (id: $id, attributes: $attributes) {
      errors
      user {
        allowLoginViaEmailLink
        createdAt
        email
        enabled
        entityId
        firstName
        fullName
        groupId
        id
        imageUrl
        lastLogin
        lastName
        managerUserId
        roleId
        title
        updatedAt
        uuid
      }
  }
}

Arguments

{
  "id": "456123",
  "attributes": {
    "uuid": "456123",
    "managerUserId": "456123",
    "firstName": "",
    "lastName": "",
    "email": "",
    "phone": "",
    "title": "",
    "timezone": "",
    "roleId": "456123",
    "groupId": "456123",
    "profile": {
      "phone": "",
      "title": "",
      "timezone": "",
      "tabnameIsSubdomain": true
    },
    "enabled": true,
    "allowLoginViaEmailLink": true,
    "sendLoginLink": true,
    "entityId": "456123"
  }
}
Name
Type
Description

id

ID

attributes

Response

Name
Type
Description

errors

List (String)

user

Last updated

Was this helpful?