MyanLex

Update project (project.update)

Requires a verified account session; API keys are not accepted. POST and PATCH require Origin to exactly match AUTH_PUBLIC_URL. Non-members receive 404; missing member permissions receive 403.

PATCH/platform/organizations/{organizationId}/projects/{projectId}

Requires a verified account session; API keys are not accepted. POST and PATCH require Origin to exactly match AUTH_PUBLIC_URL. Non-members receive 404; missing member permissions receive 403.

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

Resource UUID; organization membership is checked independently.

Formatuuid
projectId*string

Resource UUID; organization membership is checked independently.

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Properties1 <= properties

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" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",  "name": "string",  "slug": "string",  "environment": "string"}