Skip to main content

Remove group member api

The "remove group member" API allows a group admin to remove a member from a group. This can help group admins to manage their group membership and ensure that the group is only accessible to authorized members.

Path Parameters
    group_id integer required

    group id

Query Parameters
    client_auth_token string required

    Client API token

Header Parameters
    access-token string required

    user access token

    client string required

    client access token

    expiry string required

    timestamp of token expiry

    Example: 1531315250
    token-type string required

    access token type

    Example: Bearer
    uid string required

    user uid

    Example: user@quranreflect.com
Request Body
    user_id integer

    id of user to be removed

Responses

OK

Response Headers

    Schema
      success boolean
      message string
    POST /v1/groups/:group_id/remove_user

    Request

    Base URL
    https://quranreflect.com
    group_id — path required
    client_auth_token — query required
    access-token — header required
    client — header required
    expiry — header required
    token-type — header required
    uid — header required
    Body
    {
    "user_id": 0
    }
    curl / cURL
    curl -L -X POST 'https://quranreflect.com/v1/groups/:group_id/remove_user' \
    -H 'Content-Type: application/json' \
    -H 'Accept: application/json' \
    --data-raw '{
    "user_id": 0
    }'