src/Client.php
public function revokeUserRole($user, $role)
    {
        $params = [
            'name' => $user,
            'role' => $role,
        ];

        $body = $this->request(self::URI_AUTH_USER_REVOKE, $params);

        return $body;
    }
public function revokeUserRole($user, $role)
    {
        $params = [
            'name' => $user,
            'role' => $role,
        ];

        $body = $this->request(self::URI_AUTH_USER_REVOKE, $params);

        return $body;
    }
public function revokeUserRole ( $ user , $ role ) { $ params = [ 'name' => $ user , 'role' => $ role , ] ; $ body = $ this -> request ( self :: URI_AUTH_USER_REVOKE , $ params ) ; return $ body ; }
revoke a role of specified user.

@param string $user
@param string $role
@return array
@throws \GuzzleHttp\Exception\BadResponseException
revoke a role of specified user .