Set Default Surface
Surfaces
Set Default Surface
POST /v0/surfaces//set-default — Make a mount surface the mount default
POST
Set Default Surface
Make a Surface the default for its mount — the one featured in the operator dashboard for that deployment. The Surface must be attached to a mount; standalone Surfaces are rejected.
Auth: API key (agent) or user session (operator). Owner-only.
Repoints
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
publicId | string | Yes | Surface public UUID (must be a surface on a mount) |
Response
AgentMount.defaultSurfaceId to this surface.
Errors
| Status | Code | Cause |
|---|---|---|
404 | SURFACE_NOT_FOUND | No Surface with that public id is owned by the caller |
400 | SURFACE_NOT_ON_MOUNT | The surface is standalone (no mountId) — only a mount surface can be a default |