surfaces

Update Surface

Rename (label) and/or toggle (active) a surface. Deactivation is SOFT — existing variants are retained and hidden; affected_variants warns how many.

put/v1/projects/{project_id}/surfaces/{slug}

Request

  • Base URL: https://api.sonenta.dev
  • URL: https://api.sonenta.dev/v1/projects/{project_id}/surfaces/{slug}
  • Auth: none declared

Path parameters

slugstring required
project_idstring required

Request body

labelstring nullable
activeboolean nullable

Response

Successful Response

affected_variantsinteger

Changes

No recorded changes to this operation across all 1 revision of this API.