---
schema_version: "1"
id: 74db33d2b7f6e47d6401748b9fc2be9fb20deea54d1c34f7124bb2848212bd9d
title: Collection Pin
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/bi_dev_guide_rest/bi_responses_collection_pin.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_rest.meta/bi_dev_guide_rest/bi_responses_collection_pin.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 00842400b0c06b60da598b46365c8f85c8409a0032dcf415852908a07914b611
description: The pinning rules for an Analytics collection.
---
# Collection Pin

The pinning rules for an Analytics collection.

Properties

<table class="featureTable sort_table" summary="">





              <thead class="thead sorted" align="left">
                <tr>
                  <th class="featureTableHeader vertical-align-top " id="d339324e61">Parameter Name</th>

                  <th class="featureTableHeader vertical-align-top " id="d339324e64">Type</th>

                  <th class="featureTableHeader vertical-align-top " id="d339324e67">Description</th>

                  <th class="featureTableHeader vertical-align-top " id="d339324e70">Filter Group and Version</th>

                  <th class="featureTableHeader vertical-align-top " id="d339324e73">Available Version</th>

                </tr>

              </thead>

              <tbody class="tbody">
                <tr>
                  <td class="entry" headers="d339324e61" data-title="Parameter Name"><samp class="codeph nolang">id</samp></td>

                  <td class="entry" headers="d339324e64" data-title="Type">Connect​Wave​Share​Type​Enum</td>

                  <td class="entry" headers="d339324e67" data-title="Description">The ID for the collection pin rule.</td>

                  <td class="entry" headers="d339324e70" data-title="Filter Group and Version">Small, v52.0</td>

                  <td class="entry" headers="d339324e73" data-title="Available Version">52.0</td>

                </tr>

                <tr>
                  <td class="entry" headers="d339324e61" data-title="Parameter Name"><samp class="codeph nolang">pinned​For</samp></td>

                  <td class="entry" headers="d339324e64" data-title="Type">ID</td>

                  <td class="entry" headers="d339324e67" data-title="Description">The id of a group, a role, or a user the pinning rule is defined for.</td>

                  <td class="entry" headers="d339324e70" data-title="Filter Group and Version">Small, v52.0</td>

                  <td class="entry" headers="d339324e73" data-title="Available Version">52.0</td>

                </tr>

                <tr>
                  <td class="entry" headers="d339324e61" data-title="Parameter Name"><samp class="codeph nolang">type</samp></td>

                  <td class="entry" headers="d339324e64" data-title="Type">Collection​Pin​Type​Enum</td>

                  <td class="entry" headers="d339324e67" data-title="Description">The type of pinning. Valid values are:
                    <ul class="ul bulletList">
                      <li class="li"><samp class="codeph nolang">All</samp></li>

                      <li class="li"><samp class="codeph nolang">Desktop</samp></li>

                      <li class="li"><samp class="codeph nolang">Mobile</samp></li>

                      <li class="li"><samp class="codeph nolang">None</samp></li>

                    </ul>

                  </td>

                  <td class="entry" headers="d339324e70" data-title="Filter Group and Version">Small, v52.0</td>

                  <td class="entry" headers="d339324e73" data-title="Available Version">52.0</td>

                </tr>

              </tbody>

            </table>