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.
"my-project-name"
A Project
Remaining credit of the project in $
25.4
Discount of the project as percentage
10
^pj[0-9a-hj-km-np-tv-z]{24}$"pjkkmx0f2vke4h36nk9cm8v8q0"
Name of the project
^[a-zA-Z0-9](?:[a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?$"my-project"