TypeScript
const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: JSON.stringify({ name: '<string>', slug: '<string>', organizationId: '<string>', description: '<string>', metadata: {} }) }; fetch('https://api.example.com/v1/regions/global/projects', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "success": true, "data": { "id": "<string>", "name": "<string>", "slug": "<string>", "organizationId": "<string>", "description": "<string>", "metadata": {}, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } }
Create a new project within the current organization
Project name
URL-friendly identifier
Parent organization
Project created
true
Project entity within an organization
Show child attributes
Was this page helpful?