User-related API environment
Pre-live user-related API docs
These pages describe the Pre-live user-related API stack.
Use pre-live OAuth credentials, pre-live API base URLs, and pre-live app URLs when following this documentation. Keep your OAuth flow, API requests, callback URLs, and manual testing within the pre-live environment.
- Use prelive.quran.com for auth-related testing.
- Use prelive.quranreflect.org for Quran Reflect paths where applicable.
- Do not mix production sessions or production user data with pre-live testing.
Update room admin access
Grant or revoke admin privileges for a user in a room. Only room owners or existing admins can modify admin access.
application/json
Request Body required
Contains roomId, userId, and admin boolean to grant/revoke access
roomId number required
userId string required
admin boolean required
Responses
- 200
- 401
- 403
Admin access updated successfully
application/json
Schema
Example (from schema)
Example
Schema
success boolean
{
"success": true
}
{
"success": true
}
User not authenticated
User not authorized to modify admin access
Loading...