Update an existing case
PUT
/cases/{id}
const url = 'https://api.waku-robotics.com/v1/cases/example';const options = { method: 'PUT', headers: {Authorization: '<Authorization>', 'Content-Type': 'application/json'}, body: '{"assignee_id":"example","name":"example","status":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://api.waku-robotics.com/v1/cases/example \ --header 'Authorization: <Authorization>' \ --header 'Content-Type: application/json' \ --data '{ "assignee_id": "example", "name": "example", "status": "example" }'Update an existing case
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Case ID
Request Body
Section titled “Request Body”Case
Media typeapplication/json
object
assignee_id
The ID of the user to which this case should be assigned
string
name
The name of the case
string
status
The initial status of the case
string
Example generated
{ "assignee_id": "example", "name": "example", "status": "example"}Responses
Section titled “Responses”OK
Media typeapplication/json
object
created_at
required
string
deployment_id
required
string
device_id
string
id
required
string
name
required
string
status
required
string
updated_at
required
string
Example generated
{ "created_at": "example", "deployment_id": "example", "device_id": "example", "id": "example", "name": "example", "status": "example", "updated_at": "example"}default
Section titled “default”Media typeapplication/json
object
code
integer
message
string
Example generated
{ "code": 1, "message": "example"}
