Skip to content
Go to Micro

Delete a view bundle

views.delete(strview_id, ViewDeleteParams**kwargs)
DELETE/v2/prism/{teamId}/{viewObjectType}/views/{viewId}

Delete a view bundle

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

Delete a view bundle

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.delete(
    view_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
    view_object_type="action",
)
Returns Examples