Skip to main content
DELETE
/
directory
/
chat-ops-onboarding-users
Remove users from chat ops onboarding
curl --request DELETE \
  --url https://api.wirespeed.co/directory/chat-ops-onboarding-users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "size": 123,
  "page": 123,
  "filter": "email",
  "search": "<string>",
  "orderBy": "<string>",
  "orderDir": "asc",
  "tags": [
    "VIP"
  ],
  "ipId": "<string>",
  "endpointId": "<string>",
  "userAgentId": "<string>",
  "showUnmanagedUsers": true,
  "onlyChatOpsOnboardingUsers": true
}'
{
  "data": [
    {
      "id": "<string>",
      "displayName": "<string>",
      "teamId": "<string>",
      "enabled": true,
      "directoryId": "<string>",
      "name": "<string>",
      "phoneNumber": "<string>",
      "previousPhoneNumber": "<string>",
      "title": "<string>",
      "email": "<string>",
      "additionalEmails": [
        "<string>"
      ],
      "allEmails": [
        "<string>"
      ],
      "vip": true,
      "nhi": true,
      "financial": true,
      "technical": true,
      "managerDirectoryId": "<string>",
      "managerEmail": "<string>",
      "domain": "<string>",
      "department": "<string>",
      "createdAt": "<string>",
      "integrationId": {},
      "roles": [
        "<string>"
      ],
      "lastCredentialExposure": {},
      "credentialsExposed": true,
      "numberCredentialExposures": 123,
      "lastCheckedForCredentialExposures": {},
      "needsChatOpsWelcome": true,
      "contained": true,
      "username": "<string>",
      "containable": true,
      "smsConsentReceivedAt": {},
      "administrator": true,
      "updatedAt": "<string>",
      "passwordLastChangedAt": "<string>",
      "lastSignInAt": "<string>",
      "raw": {},
      "tags": [
        {
          "id": "<string>",
          "directoryUserId": "<string>",
          "tag": "VIP",
          "automationId": "<string>",
          "teamId": "<string>",
          "overriddenByUser": true,
          "enabled": true,
          "createdAt": "<string>"
        }
      ],
      "managed": true,
      "chatOpsOnboardingUser": true,
      "integrationPlatform": "microsoft-teams"
    }
  ],
  "totalCount": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
size
number
page
number
filter
enum<string>

Field to filter directory users by

Available options:
email,
name,
title,
department,
role
orderBy
string
orderDir
enum<string>
Available options:
asc,
desc
tags
enum<string>[]

Filter users by tags

ipId
string

Filter users associated with specific IP address

endpointId
string

Filter users associated with specific endpoint

userAgentId
string

Filter users associated with specific user agent

showUnmanagedUsers
boolean

Include unmanaged users in results

onlyChatOpsOnboardingUsers
boolean

Only include users that are in the chat ops onboarding group

Response

data
object[]
required

Array of directory user search results

totalCount
number
required

Total count of directory users matching the search criteria

I