View and update client resources for all client accounts belonging to the requesting company.
GET /clients/{id}/resources
Description | Lists all resources (dashboards, API resources, private links) allocated to a specified client. Users with admin role privileges have access to all clients. |
Permissions | client.access |
Resource URL | |
Parameters | id (string) — client id |
Example Request
GET https://app.klipfolio.com/api/1.0/clients/7117c12053e064e6e05c5bfbddd9bab4/resources
Example Response
{
"meta": {
"success": true,
"status": 200
},
"data": {
"resources": [
{
"name": "API Calls per Day",
"value": 10000
},
{
"name": "Dashboards",
"value": -1
},
{
"name": "Users",
"value": 3
},
{
"name": "Private Links",
"value": 0
}
]
}
}
PUT/clients/{id}/resources
Description | Update the specified resource. Users with admin role privileges have access to all clients. |
Permissions | client.edit |
Resource URL | |
Fields | Resource names: |
Example Request
https://app.klipfolio.com/api/1.0/clients/7117c12053e064e6e05c5bfbddd9bab4/resources -d
"resources": [{"name":"dashboard.combined.total", "value":7}]
Example Response
{
"meta": {
"success": true,
"status": 200
},
"data": {}
}