TypeScript
const options = { method: 'PATCH', headers: {'Content-Type': 'application/json'}, body: JSON.stringify({name: '<string>', description: '<string>', visibility: 'org', metadata: {}}) }; fetch('http://localhost:4005/v1/arc/projects/:id', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "success": true, "data": { "id": "<string>", "organizationId": "<string>", "name": "<string>", "slug": "<string>", "visibility": "org", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "description": "<string>", "metadata": {}, "deletedAt": "2023-11-07T05:31:56Z", "userRole": "admin" }, "meta": { "requestId": "<string>", "timestamp": "<string>" } }
Update project details. Requires project admin role.
1 - 255
1000
org
members_only
Show child attributes
Project updated successfully
true
Was this page helpful?