curl --location --request PATCH 'https://api.lawg.dev/v1/projects/:namespace' \ --header 'Content-Type: application/json' \ --data-raw '{ "name": "Updated Project Name", "icon": "base64_encoded_icon" }'
{ "success": true, "data": { "id": "project_xxx", "namespace": "my-project", "name": "Updated Project Name", "icon": "https://cdn.lawg.dev/projects/project_xxx.png", "tier": 0, "stripe_id": null, "feeds": [ { "id": "feed_xxx", "name": "My Feed", "description": null, "emoji": null, "type": 0 } ], "members": [ { "id": "user_xxx", "username": "john", "icon": null } ] } }
This endpoint allows you to update specific properties of a project identified by its namespace.
true
false
Show Toggle object
project_xxxxx
[{ "id": "feed_xxxx", "name": "", "description": "", // or null "emoji": "", // or null "type": 0, // 0 = APPLICATION, 1 = EVENTS }]
[{ "id": "user_xxxxx", "username": "", "icon": "", // or null }]