v1

latestOpenAPI 3.0.12026-08-041753011.2 MB
Project

Assign/remove users to/from the project

post/v1/workspaces/{workspaceId}/projects/{projectId}/memberships

Path parameters

workspaceIdstring required

Represents a workspace identifier across the system.

Example:64a687e29ae1f428e7ebe303

Represents a workspace identifier across the system.

projectIdstring required

Represents a project identifier across the system.

Example:5b641568b07987035750505e

Represents a project identifier across the system.

Request body

removeboolean

Setting this flag to 'true' will remove the given users from the project.

userIdsstring[]

Represents array of user ids which should be added/removed.

Example request

{
  "userGroups": {
    "contains": "CONTAINS",
    "ids": [
      "5b715612b079875110791111",
      "5b715612b079875110791222"
    ],
    "status": "ALL"
  },
  "userIds": [
    "45b687e29ae1f428e7ebe123",
    "67s687e29ae1f428e7ebe678"
  ]
}

Response

OK