Is it possible to delete a user through xibo cms api


#1

Hi,

Please i am wondering if it is possible to delete a user through xibo cms api, because i searched in the manual https://xibo.org.uk/manual/api/#/ but i find that deleting a user doesn’t exist.

Thank you for your time.


#2

It should be just
DELETE {{url}}/api/user/{userId}

with optional parameters
deleteAllItems - 1, 0 to delete (or not) or items created by this user
reassignUserId - userId to which we should transfer ownership of the items created by the user we want to delete

ie the same as in the web ui form:

In Postman that would be:

Assuming that I want to delete a user with userId 5.

Obviously I’d recommend to be careful with this call even more than with other Delete calls.