POST /v2/projects
To create a project, send a POST request to /v2/projects
.
Servers
- https://api.digitalocean.com
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
id |
String | No |
The unique universal identifier of this project. |
name |
String | Yes |
The human-readable name for the project. The maximum length is 175 characters and the name must be unique. |
owner_uuid |
String | No |
The unique universal identifier of the project owner. |
description |
String | No |
The description of the project. The maximum length is 255 characters. |
purpose |
String | Yes |
The purpose of the project. The maximum length is 255 characters. It can have one of the following values:
If another value for purpose is specified, for example, "your custom purpose",
your purpose will be stored as |
environment |
String | No |
The environment of the project's resources. Possible values:
|
created_at |
String | No |
A time value given in ISO8601 combined date and time format that represents when the project was created. |
owner_id |
Integer | No |
The integer id of the project owner. |
updated_at |
String | No |
A time value given in ISO8601 combined date and time format that represents when the project was updated. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.