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

Request

  • Base URL
    https://app.unleash-instance.example.com
  • URL
    https://app.unleash-instance.example.com/api/admin/projects/{projectId}/access
  • Auth
    • API key in header Authorization
    • or HTTP bearer

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.

Changes

No recorded changes to this operation across all 7 revisions of this API.