Projects

Configure project access

Enterprise feature

Configure project access for groups and single users. The provided users and groups will be given the roles specified in the payload.

post/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

rolesinteger[] required

A list of role IDs

groupsinteger[] required

A list of group IDs

usersinteger[] required

A list of user IDs

Example request

{
  "roles": [
    5
  ],
  "groups": [
    5
  ],
  "users": [
    5
  ]
}

Response

This response has no body.

Changes

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