01-24-2017 02:46 AM
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.
01-24-2017 12:27 PM
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
01-24-2017 12:27 PM
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
Explore our Alfresco products with the links below. Use labels to filter content by product module.