Skip to main content
Version: 1.4.0

Delete user asset links

POST 

https://demo.openremote.io/api/master/asset/user/link/delete

Delete user asset links

Request

Header Parameters

    Authorization string
    X-Forwarded-Proto string
    X-Forwarded-Host string

Body array

  • Array [
  • id object
    realmstring
    userIdstring
    assetIdstring
    createdOndate-time
    assetNamestring
    parentAssetNamestring
    userFullNamestring
  • ]

Responses

default response

Schema

Authorization: oauth2

name: openidtype: oauth2flows: {
  "clientCredentials": {
    "tokenUrl": "/auth/realms/master/protocol/openid-connect/token",
    "refreshUrl": "/auth/realms/master/protocol/openid-connect/token",
    "scopes": {
      "profile": "profile"
    }
  },
  "authorizationCode": {
    "authorizationUrl": "/auth/realms/master/protocol/openid-connect/auth",
    "tokenUrl": "/auth/realms/master/protocol/openid-connect/token",
    "refreshUrl": "/auth/realms/master/protocol/openid-connect/token",
    "scopes": {
      "profile": "profile"
    }
  }
}
curl -L 'https://demo.openremote.io/api/master/asset/user/link/delete' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <token>' \
-d '[
{
"id": {
"realm": "string",
"userId": "string",
"assetId": "string"
},
"createdOn": "2024-07-29T15:51:28.071Z",
"assetName": "string",
"parentAssetName": "string",
"userFullName": "string"
}
]'
Request Collapse all
Base URL
https://demo.openremote.io/api/master
Auth
Parameters
— header
— header
— header
Body
[
  {
    "id": {
      "realm": "string",
      "userId": "string",
      "assetId": "string"
    },
    "createdOn": "2024-07-29T15:51:28.071Z",
    "assetName": "string",
    "parentAssetName": "string",
    "userFullName": "string"
  }
]
ResponseClear

Click the Send API Request button above and see the response here!