Skip to main content
DELETE
/
my-talents
/
import
cURL
curl --request DELETE \
  --url https://api.collective.work/{environment}/v1/my-talents/import \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "internalUserIds": [
    "user-123",
    "user-456"
  ]
}
'
{
  "deleted": [
    "user-123"
  ],
  "notFound": [
    "user-456"
  ]
}

Authorizations

Authorization
string
header
required

API key given to you (If you don't have one, check this section)

Body

application/json
internalUserIds
string[]
required

Array of internal user identifiers to delete - these are the IDs from your system that were used when importing users

Example:
["user-123", "user-456"]

Response

Users successfully deleted

deleted
string[]
required

List of internal user IDs that were successfully deleted

Example:
["user-123"]
notFound
string[]
required

List of internal user IDs that were not found (either never existed or belong to a different organization)

Example:
["user-456"]