Skip to main content

Un-follow user api

This API endpoint allows the authenticated user to unfollow another user by sending a POST request with the target user's username.

Path Parameters
    username string required

    target user's username

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 access token expiry date

    Example: 1537100004
    token-type string required

    Default value: Bearer

    token type

    Example: Bearer
    uid string required

    user uid

    Example: user@quranreflect.com
Responses

Successful response

Response Headers

    Schema
      followed boolean
    POST /v1/users/:username/unfollow

    Request

    Base URL
    https://quranreflect.com
    username — path required
    client_auth_token — query required
    access-token — header required
    client — header required
    expiry — header required
    token-type — header required
    uid — header required
    curl / cURL
    curl -L -X POST 'https://quranreflect.com/v1/users/:username/unfollow' \
    -H 'Accept: application/json'