Hierarchy

Properties

boardId: string
createdAt?: Date

Date and time when the item was created.
Format: UTC, adheres to ISO 8601, includes a trailing Z offset.

createdBy?: CreatedBy
geometry?: Geometry
id: string

Unique identifier (ID) of an item.

links?: WidgetLinks
modifiedAt?: Date

Date and time when the item was last modified.
Format: UTC, adheres to ISO 8601, includes a trailing Z offset.

modifiedBy?: ModifiedBy
position?: Position
type: "shape" = 'shape'

Type of item that is returned.

Methods

connectTo: ((endItem: string | number | ItemConnectionCreationData, connectorCreationData?: ConnectorCreationData) => Promise<Connector>) = ConnectableItem.prototype.connectTo

Type declaration

  • Deletes a shape item from the board.

    Required scope

    boards:write

    Rate limiting

    <a target=_blank href="/docs/miro-rest-api-introduction#rate-limiting">Level 3

    Summary

    Delete shape item

    Returns Promise<void>

  • Updates a shape item on a board based on the data and style properties provided in the request body.

    Required scope

    boards:write

    Rate limiting

    <a target=_blank href="/docs/miro-rest-api-introduction#rate-limiting">Level 2

    Summary

    Update shape item

    Parameters

    Returns Promise<void>