default
Overview
Name | default |
Type | Resource |
Id | digitalocean.projects.default |
Fields
Name | Datatype | Description |
---|---|---|
id | string | The unique universal identifier of this project. |
name | string | The human-readable name for the project. The maximum length is 175 characters and the name must be unique. |
description | string | The description of the project. The maximum length is 255 characters. |
created_at | string | A time value given in ISO8601 combined date and time format that represents when the project was created. |
environment | string | The environment of the project's resources. |
is_default | boolean | If true, all resources will be added to this project if no project is specified. |
owner_id | integer | The integer id of the project owner. |
owner_uuid | string | The unique universal identifier of the project owner. |
purpose | string | The 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_at | string | A time value given in ISO8601 combined date and time format that represents when the project was updated. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_default | SELECT | To get your default project, send a GET request to /v2/projects/default . | |
_get_default | EXEC | To get your default project, send a GET request to /v2/projects/default . | |
patch_default | EXEC | To 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_default | EXEC | data__description, data__environment, data__is_default, data__name, data__purpose | To update you default project, send a PUT request to /v2/projects/default . All of the following attributes must be sent. |