Update definition of asset type property

post

/assetMonitoring/clientapi/v2/assetTypes/{asset-type-name}/properties/{property-name}

This resource updates definition of asset type property by its name

Request

Supported Media Types
Path Parameters
Header Parameters
  • To perform a configuration update of the asset device action, POST request should be orchestrated with method override set to PATCH
Back to Top

Response

Supported Media Types

202 Response

Successfully processed.
Back to Top

Examples

curl -X POST 
   -u <username>:<password>
   -H 'Accept: application/json'
   -H 'Content-Type: application/json'
   --header "X-HTTP-Method-Override: PATCH"
   https://iotserver/assetMonitoring/clientapi/v2/assetTypes/{asset-type-name}/properties/{property-name}




Complete cURL Example

The following example shows a complete cURL command that you can use to perform the described operation:

curl -X POST 
   -u <username>:<password>
   -H 'Accept: application/json'
   -H 'Content-Type: application/json'
   --header "X-HTTP-Method-Override: PATCH"
   https://iotserver/assetMonitoring/clientapi/v2/assetTypes/{asset-type-name}/properties/{property-name}



Note that in the request, https://iotserver will be replaced by the name and port of your assigned IoT Cloud Service instance. The format of the Cloud Service instance is https://myinstance-myidentitydomain.iot.us.oraclecloud.com and the default port is 443.
Back to Top