patch https://api-ext.zluri.com/v2/admin
This endpoint allows you to add a new admin or update the role of an existing admin user by providing the user's email and the new role_id.
Supported Fields Table:
| Field | Type | Description / Allowed Values |
|---|---|---|
email | string | The email address of the admin user |
role_id | string | The unique identifier of the role to assign |
Notes:
- If the user does not exist as an admin, they will be added as a new admin.
- If the user already exists, their role will be updated.
