v1

latestOpenAPI 3.0.32026-08-0613775357.6 KB
project_memberships

Update user project memberships

Updates the user's membership level for specified projects.

If you leave off a project to which the user belongs, the user's relationship to that project isn't changed.

If the user is already a member of a specified project, the user's membership is changed to the specified level.

If the user is not already a member of a specified project, the user is added with the specified level.

put/users/{user_id}/project_memberships

Request body

Response

The project memberships for the matching user.

Example response

{
  "paging": {
    "per_page": 100,
    "page": 1,
    "previous": "/api/v1/users?per_page=1000&page=1",
    "self": "/api/v1/users?per_page=1000&page=2",
    "next": "/api/v1/users?per_page=1000&page=3"
  },
  "data": [
    {
      "id": 1122334,
      "uid": "project-1122334",
      "name": "PR001: Example Project"
    }
  ]
}