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}/{objectType}/views/{viewId}/records/{objectId}

Pin a record to the view (append to record_order)

ParametersExpand Collapse
team_id: Optional[str]
formatuuid
object_type: Literal["comment", "action", "deal", 5 more]
One of the following:
"comment"
"action"
"deal"
"engagement"
"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",
    object_type="comment",
    view_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
)
Returns Examples