curl --request POST \
--url https://api.ubicloud.com/project \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "my-project-name"
}'
{
"credit": 25.4,
"discount": 10,
"id": "pjkkmx0f2vke4h36nk9cm8v8q0",
"name": "my-project"
}
curl --request POST \
--url https://api.ubicloud.com/project \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "my-project-name"
}'
{
"credit": 25.4,
"discount": 10,
"id": "pjkkmx0f2vke4h36nk9cm8v8q0",
"name": "my-project"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
A Project
The response is of type object
.