File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 8989 away_mode_enabled: true
9090 away_mode_reassign: true
9191 has_inbox_seat: true
92+ away_status_reason_id: '12345'
9293 team_ids: []
9394 schema:
9495 "$ref": "#/components/schemas/admin"
@@ -106,6 +107,25 @@ paths:
106107 message: Admin for admin_id not found
107108 schema:
108109 "$ref": "#/components/schemas/error"
110+ '400':
111+ description: Bad Request
112+ content:
113+ application/json:
114+ examples:
115+ parameter_invalid:
116+ summary: "Example of an invalid away_status_reason_id"
117+ value:
118+ type: error.list
119+ errors:
120+ - code: parameter_invalid
121+ message: "Away status reason is deleted"
122+ away_status_reason_mandatory:
123+ summary: "Example of a missing away_status_reason_id when away reasons are mandatory"
124+ value:
125+ type: error.list
126+ errors:
127+ - code: away_status_reason_mandatory
128+ message: "Away status reason is mandatory"
109129 '401':
110130 description: Unauthorized
111131 content:
@@ -141,12 +161,17 @@ paths:
141161 to your default inbox.
142162 example: false
143163 default: false
164+ away_status_reason_id:
165+ type: integer
166+ description: The unique identifier of the away status reason
167+ example: 12345
144168 examples:
145169 successful_response:
146170 summary: Successful response
147171 value:
148172 away_mode_enabled: true
149173 away_mode_reassign: true
174+ away_status_reason_id: 12345
150175 admin_not_found:
151176 summary: Admin not found
152177 value:
You can’t perform that action at this time.
0 commit comments