Delete a company member
curl --request DELETE \
--url https://paradigm.lighton.ai/api/v3/users/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://paradigm.lighton.ai/api/v3/users/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://paradigm.lighton.ai/api/v3/users/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Users
Delete a company member
This endpoint allows to soft-delete a specific company member by ID.
Soft Delete Behavior:
- The user is marked as deleted and their
is_activestatus is set to False, preventing login - API keys are immediately revoked
- The user can be restored within the recovery period (default: 7 days) via the admin interface
- After the recovery period, the user will be anonymized and permanently deleted by a background task
Permissions:
- Admin, SysAdmin, Account Manager: can delete any user except themselves
- Company Admin: can delete users from their own company except themselves
Throttling: 60 requests per minute
It is API Key protected and restricted to users with appropriate permissions.
DELETE
/
api
/
v3
/
users
/
{id}
Delete a company member
curl --request DELETE \
--url https://paradigm.lighton.ai/api/v3/users/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://paradigm.lighton.ai/api/v3/users/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://paradigm.lighton.ai/api/v3/users/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));