Ana içeriğe atla
PUT
/
dashboards
/
{id}
Panoyu güncelle
curl --request PUT \
  --url https://app.azalt.co/api/v1/dashboards/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "isPublic": true,
  "password": "<string>",
  "tags": [
    "<string>"
  ]
}
'
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "organizationId": "<string>",
  "isPublic": true,
  "order": 123,
  "globalFilter": {
    "siteIds": [
      "<string>"
    ],
    "startYear": 123,
    "endYear": 123,
    "startDate": "<string>",
    "endDate": "<string>",
    "statuses": [
      "COMPLETED"
    ]
  },
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "hasPassword": true,
  "organizationDefaultStatuses": [
    "COMPLETED"
  ],
  "tags": [
    "<string>"
  ]
}

Yetkilendirmeler

Authorization
string
header
gerekli

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

Yol Parametreleri

id
string
gerekli

Gövde

application/json
name
string
Minimum string length: 1
description
string | null
isPublic
boolean
password
string | null
tags
string[]

Yanıt

Successful response

id
string
gerekli
name
string
gerekli
description
string | null
gerekli
organizationId
string
gerekli
isPublic
boolean
gerekli
order
number
gerekli
globalFilter
object
gerekli
createdAt
string
gerekli
updatedAt
string
gerekli
hasPassword
boolean
organizationDefaultStatuses
enum<string>[]
Mevcut seçenekler:
COMPLETED,
APPROVED,
REJECTED
tags
string[] | null