Skip to main content

default

Overview

Namedefault
TypeResource
Iddigitalocean.projects.default

Fields

NameDatatypeDescription
idstringThe unique universal identifier of this project.
namestringThe human-readable name for the project. The maximum length is 175 characters and the name must be unique.
descriptionstringThe description of the project. The maximum length is 255 characters.
created_atstringA time value given in ISO8601 combined date and time format that represents when the project was created.
environmentstringThe environment of the project's resources.
is_defaultbooleanIf true, all resources will be added to this project if no project is specified.
owner_idintegerThe integer id of the project owner.
owner_uuidstringThe unique universal identifier of the project owner.
purposestringThe purpose of the project. The maximum length is 255 characters. It can
have one of the following values:

- Just trying out DigitalOcean
- Class project / Educational purposes
- Website or blog
- Web Application
- Service or API
- Mobile Application
- Machine learning / AI / Data processing
- IoT
- Operational / Developer tooling

If another value for purpose is specified, for example, "your custom purpose",
your purpose will be stored as Other: your custom purpose.
updated_atstringA time value given in ISO8601 combined date and time format that represents when the project was updated.

Methods

NameAccessible byRequired ParamsDescription
get_defaultSELECTTo get your default project, send a GET request to /v2/projects/default.
_get_defaultEXECTo get your default project, send a GET request to /v2/projects/default.
patch_defaultEXECTo update only specific attributes of your default project, send a PATCH request to /v2/projects/default. At least one of the following attributes needs to be sent.
update_defaultEXECdata__description, data__environment, data__is_default, data__name, data__purposeTo update you default project, send a PUT request to /v2/projects/default. All of the following attributes must be sent.