I can create, update, query, etc a Person. But no DELETE? Why? I've been Googling and can't find a mention of this anywhere. Using community v6.2.
I think there is no V1 api to delete person or at least it is not document in dcumentation if there is even any.
However, you can use Person Update V1 api to disable the user as a workaround. If users are synced from AD, it is recommended to disable the user instead of deleting it.
If you still need to delete the user, use the Repository api: https://docs.alfresco.com/5.0/references/RESTful-PersonPersonDelete.html
Value | Description |
---|---|
json | The default response format |
admin | The authentication access |
required | The transaction level |
argument | The format style |
Example:
HTTP DELETE Request: http://localhost:8080/alfresco/service/api/people/testUser
Note that, only users with admin role can create/update/delete users and groups.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.