cURL
curl --request POST \ --url https://api.example.com/api/v1/organizations/{organizationID}/projects \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "metadata": { "name": "my-project" }, "spec": { "groupIDs": [ "ddde69ef-bb52-4815-9e9e-aed856c6057f" ] } } '
{ "metadata": { "id": "a142f641-7fd6-4ab9-a875-344c7ebadc53", "name": "my-project", "organizationId": "d4600d6e-e965-4b44-a808-84fb2fa36702", "creationTime": "2024-05-31T14:11:00Z", "provisioningStatus": "provisioned", "healthStatus": "healthy" }, "spec": { "groupIDs": [ "ef509cd1-c7e6-42f8-aae7-a01164dc60dc" ] } }
Creates a new project resource for the user’s organization.
Operation requires OAuth 2.0 bearer token authentication.
An organization ID.
Project request parameters.
A project when created or updated.
Metadata required for all API resource reads and writes.
Show child attributes
A valid Kubernetes label value, typically used for resource names that can be indexed in the database.
The resource description, this optionally augments the name with more context.
A list of tags.
A unique tag name.
The value of the tag.
A project.
A list of group IDs.
A group ID.
A project when read.
Metadata required by organization scoped resource reads.
The unique resource ID.
The time the resource was created.
The provisioning state of a resource.
unknown
provisioning
provisioned
deprovisioning
error
The health state of a resource.
healthy
degraded
The organization identifier the resource belongs to.
The user who created the resource.
The time a resource was updated.
The user who updated the resource.
The time the resource was deleted.