Skip to main content
PUT
/
resource
/
{resourceId}
/
update
Update Resource
curl --request PUT \
  --url https://apigw.bienport.com/api/resource/{resourceId}/update \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'OrganizationId: <organizationid>' \
  --data '
{
  "enabled": true,
  "networkId": "<string>",
  "organizationId": 123,
  "resourceName": "<string>"
}
'
{
  "disabledDate": "2023-11-07T05:31:56Z",
  "enabled": true,
  "networkId": "<string>",
  "organizationId": 123,
  "resourceName": "<string>"
}

Headers

Authorization
string
required

Access Token

OrganizationId
string
required

Organization ID

Path Parameters

resourceId
integer<int64>
required

resourceId

Body

application/json

updatePanelRequest

Update Panel Request Api Model

enabled
boolean

non null modelId field of update panel request

networkId
string

non null networkId field of update panel request

organizationId
integer<int64>

non null organizationId field of update panel request

resourceName
string

non null resourceName field of update panel request

Response

Updated Alarm Panel.

disabledDate
string<date-time>
enabled
boolean
networkId
string
organizationId
integer<int64>
resourceName
string