Pharmacy
Messaging
Conversations Participants Conversations Participants

Remove Participant

Remove a participant from a conversation

Overview

  • Method: DELETE
  • Path: /pharmacy/messaging/conversations/participants/conversations/<conversationId>/participants/<role>/<id>
  • Tags: pharmacy

Parameters

conversationId (path)

  • Type: string
  • Required: Yes
  • Description: conversationId parameter

role (path)

  • Type: object
  • Required: Yes
  • Description: role parameter

id (path)

  • Type: string
  • Required: Yes
  • Description: id parameter

Request Body

No request body required.

Responses

200

Successful response

Content Type: application/json

{
  "success": true,
  "removedAt": "string"
}

400

Bad Request

Content Type: application/json

{}

401

Unauthorized

404

Not Found

500

Internal Server Error

Example Usage

curl -X DELETE \
  https://api.pillexa.com/pharmacy/messaging/conversations/participants/conversations/<conversationId>/participants/<role>/<id> \
  -H "Content-Type: application/json" \