latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-15140179507.6 KB

d3adfe49fbbf

User testing

Update a scenario

Change a scenario's identity or its exposure — but not both in one call. Send mode on its own. Identity and exposure are separate operations upstream, and applying them in sequence could leave the scenario live in a mode you did not ask for.

Narrowing mode bumps accessVersion upstream and invalidates sessions minted under the old one.

patch/projects/{projectId}/user-testing/scenarios/{scenarioId}

Request body

namestring
descriptionstring
mode'project_members' | 'invited_only' | 'anyone_with_link'

Who may open the share link:

  • project_members — signed-in members of the project only
  • invited_only — named members, invited individually
  • anyone_with_linkanyone holding the URL, signed in or not

Response

The updated scenario.

idstring required
projectIdstring required
namestring nullable required
descriptionstring nullable required
mode'project_members' | 'invited_only' | 'anyone_with_link' | 'null' nullable required