v7

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-013764062.2 MB
Projects

Set users and groups to roles in the current project

Enterprise feature

Sets all groups, users and their roles for the given project, overriding any existing configuration.

put/api/admin/projects/{projectId}/access

Path parameters

projectIdstring required

Request body

Example request

{
  "roles": [
    {
      "id": 1,
      "groups": [
        1,
        2,
        3
      ],
      "users": [
        1,
        2,
        3
      ]
    }
  ]
}

Response

This response has no body.