Users

Approve a user access request.

Changed on

Enterprise feature

Approves a pending user access request, creating a new user with the specified role.

post/api/admin/user-access-requests/{id}/approve

Request

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

Path parameters

idstring required

Request body

rootRoleinteger required

The ID of the root role to assign to the new user.

Example request

{
  "rootRole": 2
}

Response

This response has no body.

Changes