Auth0\SDK\API\Management\ClientGrants::update PHP Method

update() public method

public update ( $id, $scope )
    public function update($id, $scope)
    {
        return $this->apiClient->patch()->addPath('client-grants', $id)->withHeader(new ContentType('application/json'))->withBody(json_encode(["scope" => $scope]))->call();
    }