/1/ Learner - Delete Confirm

Overview

The /1/learner - Delete Confirm

Beta API

NOTE: This API is currently in beta and applies only to the 'iFrame' API customers.

KeyValueExample
User-Agent<company identifier>The exact value here is not important, but it should include something to identify your company
Acceptapplication/json
AuthorizationBearer <your token>Bearer wV1MLkss5+sFzioJw/3M5r9A==
(Optional) Learner IDX-UserId: IDThis will attach the Learner to this User (so if you have a User who want's to create a Learner under his account/org you would add their userid.

Code Example

curl --location --request DELETE 'https://api-sandbox.vbmappapp.com/1/learner/1234/confirm' \
  --header 'Authorization: Bearer YOUR TOKEN' \
  --header 'X-Deletion-Token: <DELETION_TOKEN_FROM_STEP_1>'

Example response

{
    "message": "Learner successfully deleted",
    "learnerId": "123",
    "learnerName": "XXX"
}

Did this page help you?