Consultation API

Close consultation

This api closes deletes the consultation

DELETE/rest/consultation/
 Query parameters None
 Header
  • auth-token: value of the authentication token
  • consultationId: value of the consultationId
 Header/Parameter  tenant
 Body None
Returns {"response" : "ok"}
Required role USER
Managed errors 401: insufficient privileges

Example request

curl 'http://localhost:8080/mwp/rest/consultation/' -X DELETE
-H 'consultationId: 5fb709e9dd500b27141497536b93c1d1'
-H 'auth-token: 7521ce7c-fcad-4725-b03a-a41969aad034' -H 'tenant:default'