DataSphere API v2, REST: Project.getUnitBalance
Written by
Updated at May 26, 2023
Returns the unit balance of the specified project.
HTTP request
GET https://datasphere.api.cloud.yandex.net/datasphere/v2/projects/{projectId}:unitBalance
Path parameters
Parameter | Description |
---|---|
projectId | Required. ID of the project to return the unit balance for. The maximum string length in characters is 50. |
Response
HTTP Code: 200 - OK
{
"unitBalance": "integer"
}
Field | Description |
---|---|
unitBalance | integer (int64) The number of units available to the project. |