Hi,
i'm trying to create new users and groups via REST API but I don’t find the method.
I try:
POST http://localhost:8080/activiti-app/api/enterprise/users?tenantId=1
{
"id":"tijs",
"firstName":"Tijs",
"lastName":"Barrez",
"email":"no-reply@alfresco.org",
"password":"pass123"
}
And another things but i get: "Method POST not allowed"
I need to create via REST API the following items:
- Users
- Groups
- Alfresco endpoint
- WS endpoint
but i didn’t find how to in the documentation.
Solved! Go to Solution.
The Enterprise Edition API for user management is documented here:
Alfresco Activiti - Identity Management - Users
Note that in order to use this API you must include a tenantId as an integer and you must be either a tenant admin or tenant manager.
e.g. POST http://localhost:8080/activiti-app/api/enterprise/admin/users?tenantId=1
Payload: {"email":"doo@bar.com","firstName":"Doo","lastName":"Bar","status":"active","type":"enterprise","password":"doobar","tenantId":1}
Hope this helps,
greg
The Enterprise Edition API for user management is documented here:
Alfresco Activiti - Identity Management - Users
Note that in order to use this API you must include a tenantId as an integer and you must be either a tenant admin or tenant manager.
e.g. POST http://localhost:8080/activiti-app/api/enterprise/admin/users?tenantId=1
Payload: {"email":"doo@bar.com","firstName":"Doo","lastName":"Bar","status":"active","type":"enterprise","password":"doobar","tenantId":1}
Hope this helps,
greg
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
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.