Get user data usage limit
GET {{baseUrl}}/api/users/:id/projects/:projectId/quotas
Get the data usage limit for users, either all users or a specific user, in a specific project. You obtain the authorization token needed to execute the request using POST /auth/login; you pass the authorization token in the request header. You identify the user by specifying the user ID in the path of the request; you obtain the user ID using GET /users. You identify the project by specifying the project ID in the path of the request; you obtain the project ID using GET /projects. A typical use case would be that an administrator has set a project-level limit of data, such as 10GB, for all users in a specific project and has also limited the data usage for specific users, for example to 5GB.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
fields | null | Comma-separated, top-level field whitelist that allows the client to selectively retrieve part of the response model. If specified, extra filtering is applied, and for top-level object (if root model is an array, each array element), only the listed fields are kept in the response. For example, "id,elements" keeps only the "id" field and whole "elements" array field, omitting all other fields in the top-level response model. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-MSTR-AuthToken | string | (Required) Authorization token |
RESPONSES
status: OK
{"size":1149239296,"usage":0}