Hi,
We are trying to add the member to the group we are using the below API to add the group member.
we are using the below JSON in the payload:
{
"properties":
{
"title": "SPADOLUS.frtest"}
}
We are getting an error as below in the response:
{
"status": 400,
"code": "E_USER_HREF_NOT_CORRECT",
"message": "The src link of the user is not correct. The user name could not be resolved.",
"id": "3e98ab0b-8252-4e85-be83-5bb2fea92f64"
}
What could be the issue?
Best Regards,
Aditya
You need to pass the user href in the body:
POST method http://<host>:<port>/dctm-rest/repositories/<repository>/groups/<group_name>/users
Body (JSON):
{ "href":"http://<host>:<port>/dctm-rest/repositories/<repository>/users/<user_name>"}