DigitalOcean-public.v2-new_Projects
Update the Default Project
To update you default project, send a PUT request to /v2/projects/default. All of the following attributes must be sent.
put/v2/projects/default
Request body
Example request
{
"id": "4e1bfbc3-dc3e-41f2-a18f-1b4d7ba71679",
"owner_uuid": "99525febec065ca37b2ffe4f852fd2b2581895e7",
"owner_id": 258992,
"name": "my-web-api",
"description": "My website API",
"purpose": "Service or API",
"environment": "Production",
"created_at": "2018-09-27T20:10:35Z",
"updated_at": "2018-09-27T20:10:35Z"
}Response
The response will be a JSON object with a key called project. The value of this will be an object with the standard project attributes
Example response
{
"project": {
"id": "4e1bfbc3-dc3e-41f2-a18f-1b4d7ba71679",
"owner_uuid": "99525febec065ca37b2ffe4f852fd2b2581895e7",
"owner_id": 258992,
"name": "my-web-api",
"description": "My website API",
"purpose": "Service or API",
"environment": "Production",
"created_at": "2018-09-27T20:10:35Z",
"updated_at": "2018-09-27T20:10:35Z"
}
}