Post

2 followers Follow
0
Avatar

Rest API Add User to Project

Hi,

I'm trying to make a POST (PUT?) request to add a user to a given project or milestone. How could I accomplish that?

Thanks!

Sujammi Answered

Official comment

Avatar

Hi Sujammi,

You need to add the user as a resource to the project. You can achieve that by using this request:

Method: PUT

URL: /data/objects/RegularResourceLink

body (example):

{
    "WorkItem": "/Project/5l22oolhibcxie45e6czbk7jm746",
    "Resource": "/User/1d6ebb38-5360-4292-a0ea-fc731744724e"
}

I hope this helps,

Elad

Elad Franklin
Comment actions Permalink

Please sign in to leave a comment.

1 comment