Delete a single object type attribute.
string
RequiredThe object type attribute was deleted.
any
1
2
3
curl --request DELETE \
--url 'http://{baseurl}/rest/assets/1.0/objecttypeattribute/{id}' \
--header 'Accept: application/json'
Store an object type attribute.
string
RequiredThe object type attribute to store.
string
string
string
string
integer
string
string
string
integer
Requiredinteger
Returns the stored object type attribute.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
curl --request POST \
--url 'http://{baseurl}/rest/assets/1.0/objecttypeattribute/{objectTypeId}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"expand": "<string>",
"project": "<string>",
"position": "<string>",
"after": "<string>",
"id": 2154,
"name": "<string>",
"label": "<string>",
"description": "<string>",
"type": 2154,
"defaultTypeId": 2154,
"typeValue": "<string>",
"typeValueMulti": [
"<string>"
],
"additionalValue": "<string>",
"minimumCardinality": 2154,
"maximumCardinality": 2154,
"removeExcessCardinality": true,
"suffix": "<string>",
"hidden": "<string>",
"includeChildObjectTypes": "<string>",
"uniqueAttribute": "<string>",
"summable": "<string>",
"indexed": "<string>",
"regexValidation": "<string>",
"qlQuery": "<string>",
"options": "<string>",
"iql": "<string>"
}'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59