Error
A valid request URL is required to generate request examples{
"dashboard": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"widgets": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"position": 123,
"kind": "metric",
"metric": "<string>",
"saved_query_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"funnel_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}Analytics
Update a dashboard
Requires analytics:read. Partial on the name.
widgets is replaced whole when sent: the layout is the unit somebody saves, so an omitted widgets keeps the current one and [] clears it. Rearranging is sending the list in the new order — widget ids are not stable across a save, because a layout is not a set of addressable objects.
PATCH
/
v1
/
organization
/
analytics
/
dashboards
/
{id}
Error
A valid request URL is required to generate request examples{
"dashboard": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"widgets": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"position": 123,
"kind": "metric",
"metric": "<string>",
"saved_query_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"funnel_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}Autorizações
Cabeçalhos
The organization the caller is acting on — the org_… code that appears in the panel URL. It identifies; the membership JOIN is what authorizes, so a forged code reads nothing: the answer is not_a_member (403), which does not mean the session is over. Absent, the session's default organization answers, or — if that membership was revoked while the session was open — any other one the caller still holds.
Corpo
application/json