Delete analytic attributes for a relation
Learn more about deleting analytic attributes.
This API operation allows you to delete existing analytic attributes for a relation.
"analyticsConfig": {
"analyticsEnabled": true,
Request
DELETE {TenantURL}/relations/{objectId}/_analyticsAttributes
Parameter | Required | Description | |
---|---|---|---|
Headers | Authorization
| Yes | Information about authentication access token in the format "Bearer <accessToken> ". For more information, see Authentication API. |
Query | returnObjects | No | Denotes if the response must contain created relations. This field defaults to true . |
Response
An array with results for each element of a request, which will contain the following properties:
-
index - The index of the relation object in JSON array of entities to be created. This is mandatory.
-
uri - The URI of the relation object that is created. This is returned only if the object is successfully created.
-
object - The relation object that is updated. This parameter is returned only if the
returnObjects
query parameter in the request istrue
and the object was successfully created.Note: By default, hidden attributes are not included in the response. To include hidden attributes, add the options=sendHidden parameter in the request. -
error - The details of the error when the object is not created, which can be one of the following:
warning
- if the object is created but with some problems.status
- result of the operation, which can be OK or failed.
Example - Request
DELETE {TenantURL}/relations/000077R/_analyticsAttributes
Response
{
"index": 0,
"object": {
"uri": "relations/000077R",
"type": "configuration/relationTypes/HasAddress",
"attributes": {
"AddressRank": [
{
"type": "configuration/relationTypes/HasAddress/attributes/AddressRank",
"ov": true,
"value": "1",
"uri": "relations/000077R/attributes/AddressRank/1n08Ft"
}
]
},
"analyticsAttributes": {}
}
}