src/Client.php
public function revokeRolePermission($role, $key, $rangeEnd = null)
    {
        $params = [
            'role' => $role,
            'key' => $key,
        ];
        if ($rangeEnd !== null) {
            $params['range_end'] = $rangeEnd;
        }

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

        return $body;
    }
public function revokeRolePermission($role, $key, $rangeEnd = null)
    {
        $params = [
            'role' => $role,
            'key' => $key,
        ];
        if ($rangeEnd !== null) {
            $params['range_end'] = $rangeEnd;
        }

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

        return $body;
    }
public function revokeRolePermission ( $ role , $ key , $ rangeEnd = null ) { $ params = [ 'role' => $ role , 'key' => $ key , ] ; if ( $ rangeEnd !== null ) { $ params [ 'range_end' ] = $ rangeEnd ; } $ body = $ this -> request ( self :: URI_AUTH_ROLE_REVOKE , $ params ) ; return $ body ; }
revoke a key or range permission of a specified role.

@param string      $role
@param string      $key
@param string|null $rangeEnd
@return array
@throws BadResponseException
revoke a key or range permission of a specified role .