Skip to main content

Configure project access

POST 

<your-unleash-url>/api/admin/projects/:projectId/access

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

Request

Responses

This response has no body.

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
curl -L '<your-unleash-url>/api/admin/projects/:projectId/access' \
-H 'Content-Type: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
-d '{
"roles": [
5
],
"groups": [
5
],
"users": [
5
]
}'
Request Collapse all
Base URL
<your-unleash-url>
Auth
Parameters
— pathrequired
Body required
{
  "roles": [
    5
  ],
  "groups": [
    5
  ],
  "users": [
    5
  ]
}
ResponseClear

Click the Send API Request button above and see the response here!