Skip to main content

Resource Positions (Canvas/Draggable Cards)

Resources (instances, applications, databases, firewalls, terminals, storage buckets, bucket explorers, db monitors) can be positioned on a canvas for drag-and-drop interfaces (like n8n). Position data is automatically included in all resource listing and detail endpoints.

Update Resource Position

  • PATCH /api/:projectSlug/:environmentSlug/resources/:resourceId/position - Update the position of a resource on the canvas (use resource’s database ID)
Request Body:
Example:
Example Response:
Position Data in Resource Responses: Position data is automatically included in all resource listing and detail endpoints:
If a resource doesn’t have a position set, the position field will be null. Example Response (with position):