GuideAuthorization
Managing Permissions & Custom Roles
Create role matrices, assign granular permissions to end-users, and enforce scope authorization in your client and server software.
Assigning Roles via Management API
Attach a role (e.g. beta_tester, vip_license) to an end-user:
assign-role.sh
curl -X POST https://api.nineauth.xyz/v1/mgmt/auth/users/usr_8f2910/roles \
-H "Authorization: Bearer app_sec_live_..." \
-H "Content-Type: application/json" \
-d '{ "role_id": "rol_vip_exclusive" }'