Case - Update

PATCH

Update Case

Path parameters

caseIdstringRequired

Request

This endpoint expects an object.
priority
enumOptional
Allowed values: P1P2P3P4
tags
list of objectsOptional
Generic key-value pair model to append a custom variable being sent to Flagright API
creationReason
objectOptional
entityDetails
unionOptional
relatedCases
list of stringsOptional
assignments
list of objectsOptional

Response

This endpoint returns an object
caseId
string
createdTimestamp
double
caseStatus
enum
updatedAt
double
priority
enum
Allowed values: P1P2P3P4
entityDetails
union
tags
list of objectsOptional
Generic key-value pair model to append a custom variable being sent to Flagright API
creationReason
objectOptional
relatedCases
list of stringsOptional
assignments
list of objectsOptional

Errors

PATCH
1curl -X PATCH https://sandbox.api.flagright.com/management/cases/:caseId \
2 -H "x-api-key: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{}'
1{
2 "caseId": "string",
3 "createdTimestamp": 1,
4 "caseStatus": "OPEN",
5 "updatedAt": 1,
6 "priority": "P1",
7 "entityDetails": {
8 "type": "USER",
9 "userId": "string"
10 },
11 "tags": [
12 {
13 "key": "string",
14 "value": "string"
15 }
16 ],
17 "creationReason": {
18 "reasons": [
19 "string"
20 ],
21 "comment": "string",
22 "timestamp": 1
23 },
24 "relatedCases": [
25 "string"
26 ],
27 "assignments": [
28 {
29 "assigneeEmail": "string",
30 "assignedByEmail": "string",
31 "timestamp": 1
32 }
33 ]
34}