---
updatedAt: 2026-11-17T12:08:52.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/property-mgr/llms.txt
---

# matchCpCode

<ul>
<li><strong>Property Manager name</strong>: <a href="doc:content-provider-code-match">Content Provider Code</a></li>

<li><strong>Criteria version</strong>: The <code>latest</code> rule format supports the <code>matchCpCode</code> criteria v1.1.</li>

<li><strong>Rule format status</strong>: <a href="ref:api-versioning">Beta, possible breaking changes</a></li>

<li><strong>Access</strong>: <a href="ref:advanced-and-locked-features">Read/Write</a></li>

<li><strong>Allowed in includes</strong>: <a href="ref:includes#relationship-with-parent-properties">Not available for <code>latest</code> rule format</a></li>
</ul><hr />

<p>Match the assigned content provider code.</p>

<table class="noxdep">
<thead class="noxdep">
<tr class="row_head">
<th>Option</th>
<th>Type</th>
<th>Description</th>
<th><a href="ref:latest-behaviors#object-requirements">Requires</a></th>
</tr>
</thead>
<tbody class="noxdep">
<tr class="row_option value" id="value" >
<td class><code>value</code></td>
<td>object </td>
<td><p>Specifies the CP code as an object. You only need to provide the initial <code>id</code> to match the CP code, stripping any <a href="ref:id-prefixes"><code>cpc_</code> prefix</a> to pass the integer to the rule tree. Additional CP code details may reflect back in subsequent read-only data.</p></td>
<td></td>
<th><pre class="input">{"displayType":"object","tag":"input","todo":true}</pre><pre class="visible"></pre><pre class="required">{"required":"true"}</pre></th></tr>
<tr class="row_schema value">
<td><code>value.cp​Code​Limits</code></td>
<td>array</td>
<td><p><strong>Read-only</strong>. Describes the current usage limit for the CP code.</p></td>
<td></td>
</tr>
<tr class="row_schema value">
<td><code>value.created​Date</code></td>
<td>integer</td>
<td><p><strong>Read-only</strong>. UNIX epoch timestamp reflecting when the CP code was originally created.</p></td>
<td></td>
</tr>
<tr class="row_schema value">
<td><code>value.description</code></td>
<td>string</td>
<td><p><strong>Read-only</strong>. Additional description for the CP code.</p></td>
<td></td>
</tr>
<tr class="row_schema value">
<td><code>value.id</code></td>
<td>integer</td>
<td><p>Unique identifier for each CP code. Initially, you get this value when <a href="ref:post-cpcodes">creating a new CP code</a> in PAPI. You can also assign a <code>cpcode​Id</code> value from the <a href="ref:get-cpcodes">List CP codes</a> operation.</p></td>
<td></td>
</tr>
<tr class="row_schema value">
<td><code>value.name</code></td>
<td>string</td>
<td><p><strong>Read-only</strong>. The name of the CP code you specify as the <code>cpcode​Name</code> when <a href="ref:post-cpcodes">creating a new CP code</a> in PAPI. You can modify this value with the <a href="https://techdocs.akamai.com/cp-codes/reference/put-cpcode">PUT operation</a> in the CP codes and Reporting Groups API.</p></td>
<td></td>
</tr>
<tr class="row_schema value">
<td><code>value.products</code></td>
<td>array</td>
<td><p><strong>Read-only</strong>. The set of products the CP code is assigned to. This reflects <code>product​Id</code> values you specify when <a href="ref:post-cpcodes">creating a new CP code</a> in PAPI.</p></td>
<td></td>
</tr>
</tbody>
</table>

# Sibling pages

* [advancedImMatch](https://techdocs.akamai.com/property-mgr/reference/latest-advanced-im-match.md)
* [bucket](https://techdocs.akamai.com/property-mgr/reference/latest-bucket.md)
* [cacheability](https://techdocs.akamai.com/property-mgr/reference/latest-cacheability.md)
* [chinaCdnRegion](https://techdocs.akamai.com/property-mgr/reference/latest-china-cdn-region.md)
* [clientCertificate](https://techdocs.akamai.com/property-mgr/reference/latest-client-certificate.md)
* [clientIp](https://techdocs.akamai.com/property-mgr/reference/latest-client-ip.md)
* [clientIpVersion](https://techdocs.akamai.com/property-mgr/reference/latest-client-ip-version.md)
* [cloudletsOrigin](https://techdocs.akamai.com/property-mgr/reference/latest-cloudlets-origin.md)
* [contentDeliveryNetwork](https://techdocs.akamai.com/property-mgr/reference/latest-content-delivery-network.md)
* [contentType](https://techdocs.akamai.com/property-mgr/reference/latest-content-type.md)
* [debugMode](https://techdocs.akamai.com/property-mgr/reference/latest-debug-mode.md)
* [deviceCharacteristic](https://techdocs.akamai.com/property-mgr/reference/latest-device-characteristic.md)
* [edgeWorkersFailure](https://techdocs.akamai.com/property-mgr/reference/latest-edge-workers-failure.md)
* [fileExtension](https://techdocs.akamai.com/property-mgr/reference/latest-file-extension.md)
* [filename](https://techdocs.akamai.com/property-mgr/reference/latest-filename.md)
* [hostname](https://techdocs.akamai.com/property-mgr/reference/latest-hostname.md)
* [matchAdvanced](https://techdocs.akamai.com/property-mgr/reference/latest-match-advanced.md)
* [matchResponseCode](https://techdocs.akamai.com/property-mgr/reference/latest-match-response-code.md)
* [matchVariable](https://techdocs.akamai.com/property-mgr/reference/latest-match-variable.md)
* [metadataStage](https://techdocs.akamai.com/property-mgr/reference/latest-metadata-stage.md)
* [originTimeout](https://techdocs.akamai.com/property-mgr/reference/latest-origin-timeout.md)
* [path](https://techdocs.akamai.com/property-mgr/reference/latest-path.md)
* [queryStringParameter](https://techdocs.akamai.com/property-mgr/reference/latest-query-string-parameter.md)
* [random](https://techdocs.akamai.com/property-mgr/reference/latest-random.md)
* [recoveryConfig](https://techdocs.akamai.com/property-mgr/reference/latest-recovery-config.md)
* [regularExpression](https://techdocs.akamai.com/property-mgr/reference/latest-regular-expression.md)
* [requestCookie](https://techdocs.akamai.com/property-mgr/reference/latest-request-cookie.md)
* [requestHeader](https://techdocs.akamai.com/property-mgr/reference/latest-request-header.md)
* [requestMethod](https://techdocs.akamai.com/property-mgr/reference/latest-request-method.md)
* [requestProtocol](https://techdocs.akamai.com/property-mgr/reference/latest-request-protocol.md)
* [requestType](https://techdocs.akamai.com/property-mgr/reference/latest-request-type.md)
* [responseHeader](https://techdocs.akamai.com/property-mgr/reference/latest-response-header.md)
* [serverLocation](https://techdocs.akamai.com/property-mgr/reference/latest-server-location.md)
* [time](https://techdocs.akamai.com/property-mgr/reference/latest-time.md)
* [tokenAuthorization](https://techdocs.akamai.com/property-mgr/reference/latest-token-authorization.md)
* [userAgent](https://techdocs.akamai.com/property-mgr/reference/latest-user-agent.md)
* [userLocation](https://techdocs.akamai.com/property-mgr/reference/latest-user-location.md)
* [userNetwork](https://techdocs.akamai.com/property-mgr/reference/latest-user-network.md)
* [variableError](https://techdocs.akamai.com/property-mgr/reference/latest-variable-error.md)