GET
/
project
/
{project_id}
curl --request GET \
  --url https://api.ubicloud.com/project/{project_id} \
  --header 'Authorization: Bearer <token>'
{
  "credit": 25.4,
  "discount": 10,
  "id": "pjkkmx0f2vke4h36nk9cm8v8q0",
  "name": "my-project"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

ID of the project

Example:

"pjkkmx0f2vke4h36nk9cm8v8q0"

Response

200
application/json
A Project
credit
number
required

Remaining credit of the project in $

Example:

25.4

discount
integer
required

Discount of the project as percentage

Example:

10

id
string
required
Example:

"pjkkmx0f2vke4h36nk9cm8v8q0"

name
string
required

Name of the project

Example:

"my-project"