Skip to main content

Remove user from group

Remove user from group.

Path Parameters
    groupId string required

    The id of the group.

Request Body
    userId integer required

    The ID of the user being removed from group.

Responses

Request has been handled successfully.


Schema
    success boolean
    data object
    message

    Possible values: [User has been removed successfully.]

PUT /v1/groups/:groupId/removeUser

Authorization

name: x-auth-tokentype: apiKeyin: headerdescription: The JWT access token required for accessing the endpoints.
name: x-client-idtype: apiKeyin: headerdescription: Your client id

Request

Base URL
https://apis-prelive.quran.foundation/auth
x-auth-token
x-client-id
groupId — path required
Body
{
"userId": 153
}
curl / cURL
curl -L -X PUT 'https://apis-prelive.quran.foundation/auth/v1/groups/:groupId/removeUser' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'x-auth-token: <API_KEY_VALUE>' \
-H 'x-client-id: <API_KEY_VALUE>' \
--data-raw '{
"userId": 153
}'