Delete User

GraphQL endpoint to delete an existing user in the CRM

  • GraphQL Mutation:

    mutation DeleteCustomUser($primaryWalletAddress: String) {
      deleteCustomUser(primaryWalletAddress: $primaryWalletAddress) {
        status
        errors{
          message
          code
        }
      }
    }
  • Variables:

    • **primaryWalletAddress** (required)

  • Example json payload:

    {
       "primaryWalletAddress": "5463"
    }
  • Errors:

    • Code: 400 (No valid identity provided)

      When **primaryWalletAddress** is not provided

    • Code: 404 (User Not Found)

Last updated