As an Admin, I would love to be able to create/invite (and remove) users through the API. Is there a way to do this? Imagine being able to set up Users directly from a list of emails in an Excel spreadsheet using Power Query. So easy and quick!
Missed that part! There is no way to Bulk remove users via the API, but we offer two different endpoints to remove a single user via the API. Please use these endpoints with caution since removing a user from a team could cause unintended consequences for verification of content:
• `DELETE api/v1/members/{email}` This call requires no request body and will delete the user without replacing a verifier to any cards this deleted user is responsible for. A successful call will return a 200 status.
• `DELETE api/v1/members/{email}/replaceverifier` This call will delete the user and replace the verifier. If they have verified content in numerous collections, the "collectionVerifiers" key will take a list of collection objects, examples below.
Replace with an individual verifier:
{
"collectionVerifiers": {
"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx": {
"type": "member",
"id": ""
}
}
}
Replace with a user-group:
{
"collectionVerifiers": {
"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx": {
"type": "user-group",
"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
}
}
Hello All,
Wondering if there has been any enhancements on removing users via the API, currently testing using the aforementioned endpoint.
• `DELETE api/v1/members/{email}/replaceverifier` This call will delete the user and replace the verifier. If they have verified content in numerous collections, the "collectionVerifiers" key will take a list of collection objects, examples below.
Replace with an individual verifier:
{
"collectionVerifiers": {
"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx": {
"type": "member",
"id": ""
}
}
}
Replace with a user-group:
{
"collectionVerifiers": {
"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx": {
"type": "user-group",
"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
}
}
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.