Skip to content
Go to Micro

Pin a record to the view (append to record_order)

views.records.pin(strobject_id, RecordPinParams**kwargs)
POST/v2/prism/{teamId}/{viewObjectType}/views/{viewId}/records/{objectId}

Pin a record to the view (append to record_order)

ParametersExpand Collapse
team_id: Optional[str]
formatuuid
view_object_type: Literal["action", "deal", "document", 3 more]
One of the following:
"action"
"deal"
"document"
"event"
"identity"
"organization"
view_id: str
formatuuid
object_id: str
formatuuid
idempotency_key: Optional[str]
minLength1
maxLength255

Pin a record to the view (append to record_order)

import os
from micro_so import Micro

client = Micro(
    api_key=os.environ.get("MICRO_API_KEY"),  # This is the default and can be omitted
)
client.views.records.pin(
    object_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
    view_object_type="action",
    view_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
)
Returns Examples