Users
Remove a learner
Removes the learner’s organization membership and assignments without deleting their account or historical sessions.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Removes the learner’s organization membership and assignments without deleting their account or historical sessions.
curl --request DELETE \
--url https://trainertwin.com/api/v1/users/{userId} \
--header 'x-api-key: <api-key>'const options = {method: 'DELETE', headers: {'x-api-key': '<api-key>'}};
fetch('https://trainertwin.com/api/v1/users/{userId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://trainertwin.com/api/v1/users/{userId}"
headers = {"x-api-key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){
"error": "Resource not found"
}{
"error": "Resource not found"
}{
"error": "Resource not found"
}curl --request DELETE \
--url https://trainertwin.com/api/v1/users/{userId} \
--header 'x-api-key: <api-key>'const options = {method: 'DELETE', headers: {'x-api-key': '<api-key>'}};
fetch('https://trainertwin.com/api/v1/users/{userId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://trainertwin.com/api/v1/users/{userId}"
headers = {"x-api-key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){
"error": "Resource not found"
}{
"error": "Resource not found"
}{
"error": "Resource not found"
}