Remove a user
curl --request DELETE \
--url https://{your-subdomain}.neetoauth.com/api/external/v2/users/{email} \
--header 'X-Api-Key: <x-api-key>'const options = {method: 'DELETE', headers: {'X-Api-Key': '<x-api-key>'}};
fetch('https://{your-subdomain}.neetoauth.com/api/external/v2/users/{email}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{your-subdomain}.neetoauth.com/api/external/v2/users/{email}"
headers = {"X-Api-Key": "<x-api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)Users
Remove user
Removes a user from the workspace.
DELETE
/
users
/
{email}
Remove a user
curl --request DELETE \
--url https://{your-subdomain}.neetoauth.com/api/external/v2/users/{email} \
--header 'X-Api-Key: <x-api-key>'const options = {method: 'DELETE', headers: {'X-Api-Key': '<x-api-key>'}};
fetch('https://{your-subdomain}.neetoauth.com/api/external/v2/users/{email}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{your-subdomain}.neetoauth.com/api/external/v2/users/{email}"
headers = {"X-Api-Key": "<x-api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)Replace
Learn how to find your subdomain in Workspace subdomain.
{your-subdomain} with your workspace’s subdomain. Learn how to find your subdomain in Workspace subdomain.
Headers
Use the X-Api-Key header to provide your workspace API key. Refer to Authentication for more information.
Path Parameters
Email address of the user to remove.
Example:
"oliver@example.com"
Response
204
No Content - User deactivated successfully