|
1
|
get: |
|
2
|
operationId: GetPropertyLabelsId |
|
3
|
summary: Get a Property Label |
|
4
|
description: Retrieve a property label by its ID. |
|
5
|
x-authenticated: true |
|
6
|
parameters: |
|
7
|
- name: id |
|
8
|
in: path |
|
9
|
description: The property label's ID. |
|
10
|
required: true |
|
11
|
schema: |
|
12
|
type: string |
|
13
|
security: |
|
14
|
- api_token: [] |
|
15
|
- cookie_auth: [] |
|
16
|
- jwt_token: [] |
|
17
|
x-codeSamples: |
|
18
|
- lang: Shell |
|
19
|
label: cURL |
|
20
|
source: |
|
21
|
$ref: ../code_samples/Shell/admin_property-labels_{id}/get.sh |
|
22
|
tags: |
|
23
|
- Property Labels |
|
24
|
responses: |
|
25
|
'200': |
|
26
|
description: OK |
|
27
|
content: |
|
28
|
application/json: |
|
29
|
schema: |
|
30
|
$ref: ../components/schemas/AdminPropertyLabelResponse.yaml |
|
31
|
'400': |
|
32
|
$ref: ../components/responses/400_error.yaml |
|
33
|
'401': |
|
34
|
$ref: ../components/responses/unauthorized.yaml |
|
35
|
'404': |
|
36
|
$ref: ../components/responses/not_found_error.yaml |
|
37
|
'409': |
|
38
|
$ref: ../components/responses/invalid_state_error.yaml |
|
39
|
'422': |
|
40
|
$ref: ../components/responses/invalid_request_error.yaml |
|
41
|
'500': |
|
42
|
$ref: ../components/responses/500_error.yaml |
|
43
|
x-since: 2.10.3 |
|
44
|
x-featureFlag: view_configurations |
|
45
|
post: |
|
46
|
operationId: PostPropertyLabelsId |
|
47
|
summary: Update a Property Label |
|
48
|
description: Update a property label's details. |
|
49
|
x-authenticated: true |
|
50
|
parameters: |
|
51
|
- name: id |
|
52
|
in: path |
|
53
|
description: The property label's ID. |
|
54
|
required: true |
|
55
|
schema: |
|
56
|
type: string |
|
57
|
security: |
|
58
|
- api_token: [] |
|
59
|
- cookie_auth: [] |
|
60
|
- jwt_token: [] |
|
61
|
requestBody: |
|
62
|
content: |
|
63
|
application/json: |
|
64
|
schema: |
|
65
|
$ref: ../components/schemas/AdminUpdatePropertyLabel.yaml |
|
66
|
x-codeSamples: |
|
67
|
- lang: Shell |
|
68
|
label: cURL |
|
69
|
source: |
|
70
|
$ref: ../code_samples/Shell/admin_property-labels_{id}/post.sh |
|
71
|
tags: |
|
72
|
- Property Labels |
|
73
|
responses: |
|
74
|
'200': |
|
75
|
description: OK |
|
76
|
content: |
|
77
|
application/json: |
|
78
|
schema: |
|
79
|
$ref: ../components/schemas/AdminPropertyLabelResponse.yaml |
|
80
|
'400': |
|
81
|
$ref: ../components/responses/400_error.yaml |
|
82
|
'401': |
|
83
|
$ref: ../components/responses/unauthorized.yaml |
|
84
|
'404': |
|
85
|
$ref: ../components/responses/not_found_error.yaml |
|
86
|
'409': |
|
87
|
$ref: ../components/responses/invalid_state_error.yaml |
|
88
|
'422': |
|
89
|
$ref: ../components/responses/invalid_request_error.yaml |
|
90
|
'500': |
|
91
|
$ref: ../components/responses/500_error.yaml |
|
92
|
x-workflow: updatePropertyLabelsWorkflow |
|
93
|
x-events: [] |
|
94
|
x-since: 2.10.3 |
|
95
|
x-featureFlag: view_configurations |
|
96
|
delete: |
|
97
|
operationId: DeletePropertyLabelsId |
|
98
|
summary: Delete a Property Label |
|
99
|
description: Delete a property label. |
|
100
|
x-authenticated: true |
|
101
|
parameters: |
|
102
|
- name: id |
|
103
|
in: path |
|
104
|
description: The property label's ID. |
|
105
|
required: true |
|
106
|
schema: |
|
107
|
type: string |
|
108
|
security: |
|
109
|
- api_token: [] |
|
110
|
- cookie_auth: [] |
|
111
|
- jwt_token: [] |
|
112
|
x-codeSamples: |
|
113
|
- lang: Shell |
|
114
|
label: cURL |
|
115
|
source: |
|
116
|
$ref: ../code_samples/Shell/admin_property-labels_{id}/delete.sh |
|
117
|
tags: |
|
118
|
- Property Labels |
|
119
|
responses: |
|
120
|
'200': |
|
121
|
description: OK |
|
122
|
content: |
|
123
|
application/json: |
|
124
|
schema: |
|
125
|
$ref: ../components/schemas/AdminPropertyLabelDeleteResponse.yaml |
|
126
|
'400': |
|
127
|
$ref: ../components/responses/400_error.yaml |
|
128
|
'401': |
|
129
|
$ref: ../components/responses/unauthorized.yaml |
|
130
|
'404': |
|
131
|
$ref: ../components/responses/not_found_error.yaml |
|
132
|
'409': |
|
133
|
$ref: ../components/responses/invalid_state_error.yaml |
|
134
|
'422': |
|
135
|
$ref: ../components/responses/invalid_request_error.yaml |
|
136
|
'500': |
|
137
|
$ref: ../components/responses/500_error.yaml |
|
138
|
x-workflow: deletePropertyLabelsWorkflow |
|
139
|
x-events: [] |
|
140
|
x-since: 2.10.3 |
|
141
|
x-featureFlag: view_configurations |