userDelete

Delete a user. The userDelete mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.

Scope required: security:write

mutation userDelete ($id: ID!) {
  userDelete (id: $id) {
      errors
      user {
        allowLoginViaEmailLink
        createdAt
        email
        emailBody
        emailSubject
        enabled
        entityId
        firstName
        fullName
        groupId
        id
        imageUrl
        lastLogin
        lastName
        managerUserId
        name
        roleId
        title
        updatedAt
        uuid
      }
  }
}

ArgumentsLink to Arguments section

{
  "id": "456123"
}
Name Type Description
id ID  

ResponseLink to Response section

Name Type Description
errors String  
user User