Skip to main content

Configure project role access

POST 

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

deprecated

This endpoint has been deprecated and may be replaced or removed in future versions of the API.

Configure project access for groups and single users. The provided users and groups will be given the role specified in the URL parameters. This endpoint is deprecated. Use /:projectId/access instead.

Request

Responses

This response has no body.

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API

Request Collapse all
Base URL
<your-unleash-url>
Auth
Parameters
— pathrequired
— pathrequired
Body required
{
  "groups": [
    {
      "id": 5
    }
  ],
  "users": [
    {
      "id": 5
    }
  ]
}
ResponseClear

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