MyanLex

Rename an owned snapshot

Current verified session, membership and project permissions are rechecked. Snapshots are user-submitted artifacts, not server attestations.

PATCH/platform/organizations/{organizationId}/projects/{projectId}/playground/runs/{id}

Current verified session, membership and project permissions are rechecked. Snapshots are user-submitted artifacts, not server attestations.

Authorization

accountSession
better-auth.session_token<token>

Better Auth signed HttpOnly session cookie; HTTPS uses the __Secure-better-auth.session_token name. Sign in through /api/auth. Browser clients send cookies automatically; do not paste secrets into docs.

In: cookie

Path Parameters

organizationId*string
Formatuuid
projectId*string
Formatuuid
id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X PATCH "https://example.com/platform/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/playground/runs/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{    "title": "string"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "title": "string",  "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",  "createdAt": "2019-08-24T14:15:22Z",  "expiresAt": "2019-08-24T14:15:22Z",  "payloadSize": 1}