src/MediaServices/MediaServicesRestProxy.php
public function removeOptionsFromContentKeyAuthorizationPolicy($options, $policy)
    {
        $optionsId = Utilities::getEntityId(
                    $options,
                    'WindowsAzure\MediaServices\Models\ContentKeyAuthorizationPolicyOption'
                );

        $policyId = Utilities::getEntityId(
            $policy,
            'WindowsAzure\MediaServices\Models\ContentKeyAuthorizationPolicy'
        );

        $method = Resources::HTTP_DELETE;
        $path = "ContentKeyAuthorizationPolicies('{$policyId}')/\$links/Options('{$optionsId}')";
        $headers = [];
        $postParams = [];
        $queryParams = [];
        $statusCode = Resources::STATUS_NO_CONTENT;

        $this->sendHttp(
            $method,
            $headers,
            $queryParams,
            $postParams,
            $path,
            $statusCode
        );
    }
public function removeOptionsFromContentKeyAuthorizationPolicy($options, $policy)
    {
        $optionsId = Utilities::getEntityId(
                    $options,
                    'WindowsAzure\MediaServices\Models\ContentKeyAuthorizationPolicyOption'
                );

        $policyId = Utilities::getEntityId(
            $policy,
            'WindowsAzure\MediaServices\Models\ContentKeyAuthorizationPolicy'
        );

        $method = Resources::HTTP_DELETE;
        $path = "ContentKeyAuthorizationPolicies('{$policyId}')/\$links/Options('{$optionsId}')";
        $headers = [];
        $postParams = [];
        $queryParams = [];
        $statusCode = Resources::STATUS_NO_CONTENT;

        $this->sendHttp(
            $method,
            $headers,
            $queryParams,
            $postParams,
            $path,
            $statusCode
        );
    }
public function removeOptionsFromContentKeyAuthorizationPolicy ( $ options , $ policy ) { $ optionsId = Utilities :: getEntityId ( $ options , 'WindowsAzure\MediaServices\Models\ContentKeyAuthorizationPolicyOption' ) ; $ policyId = Utilities :: getEntityId ( $ policy , 'WindowsAzure\MediaServices\Models\ContentKeyAuthorizationPolicy' ) ; $ method = Resources :: HTTP_DELETE ; $ path = "ContentKeyAuthorizationPolicies('{$policyId}')/\$links/Options('{$optionsId}')" ; $ headers = [ ] ; $ postParams = [ ] ; $ queryParams = [ ] ; $ statusCode = Resources :: STATUS_NO_CONTENT ; $ this -> sendHttp ( $ method , $ headers , $ queryParams , $ postParams , $ path , $ statusCode ) ; }
Remove ContentKeyAuthorizationPolicyOption from ContentKeyAuthorizationPolicy.

@param ContentKeyAuthorizationPolicyOption|string $options ContentKeyAuthorizationPolicyOption to remove from
ContentKeyAuthorizationPolicy or
ContentKeyAuthorizationPolicyOption id
@param ContentKeyAuthorizationPolicy|string       $policy  ContentKeyAuthorizationPolicy to remove or
ContentKeyAuthorizationPolicy id
Remove ContentKeyAuthorizationPolicyOption from ContentKeyAuthorizationPolicy .