Skip to content

basebox Auth Management API

API calls are done via GraphQL requests. As usual, your GraphQL schema must contain definitions for all operations you want to use. The following sections describe the available operations.

DELETE_USER

Deletes a user from the auth provider's user database.

Parameters

userId

Type: String
The ID of the user to delete.
Example: "auth0|64e360c3fea1c10f7412a82c"

Schema Definition

scalar Void @bb_scalar(_type: "Void")

type Mutation {
  deleteUser(userId: ID!): Void
  @bb_resolver(
    _type: AUTH_MANAGEMENT
    _action: DELETE_USER
  )
}

Example Request (Operation)

mutation {
  deleteUser(userId: "auth0|64e360c3fea1c10f7412a82c")
}