1 /**
2 * @oas [post] /admin/property-labels/{id}
3 * operationId: PostPropertyLabelsId
4 * summary: Update a Property Label
5 * description: Update a property label's details.
6 * x-authenticated: true
7 * parameters:
8 * - name: id
9 * in: path
10 * description: The property label's ID.
11 * required: true
12 * schema:
13 * type: string
14 * security:
15 * - api_token: []
16 * - cookie_auth: []
17 * - jwt_token: []
18 * requestBody:
19 * content:
20 * application/json:
21 * schema:
22 * $ref: "#/components/schemas/AdminUpdatePropertyLabel"
23 * x-codeSamples:
24 * - lang: Shell
25 * label: cURL
26 * source: |-
27 * curl -X POST '{backend_url}/admin/property-labels/{id}' \
28 * -H 'Authorization: Bearer {access_token}'
29 * tags:
30 * - Property Labels
31 * responses:
32 * "200":
33 * description: OK
34 * content:
35 * application/json:
36 * schema:
37 * $ref: "#/components/schemas/AdminPropertyLabelResponse"
38 * "400":
39 * $ref: "#/components/responses/400_error"
40 * "401":
41 * $ref: "#/components/responses/unauthorized"
42 * "404":
43 * $ref: "#/components/responses/not_found_error"
44 * "409":
45 * $ref: "#/components/responses/invalid_state_error"
46 * "422":
47 * $ref: "#/components/responses/invalid_request_error"
48 * "500":
49 * $ref: "#/components/responses/500_error"
50 * x-workflow: updatePropertyLabelsWorkflow
51 * x-events: []
52 * x-since: 2.10.3
53 * x-featureFlag: view_configurations
54 *
55 */
56