DELETE
/
v1
/
organizations
/
members
/
{memberId}
curl --request DELETE \
  --url https://api.novu.co/v1/organizations/members/{memberId} \
  --header 'Authorization: <api-key>'
{
  "data": {
    "_id": "<string>",
    "_userId": "<string>",
    "user": {
      "_id": "<string>",
      "firstName": "<string>",
      "lastName": "<string>",
      "email": "<string>"
    },
    "roles": "admin",
    "invite": {
      "email": "<string>",
      "token": "<string>",
      "invitationDate": "2023-11-07T05:31:56Z",
      "answerDate": "2023-11-07T05:31:56Z",
      "_inviterId": "<string>"
    },
    "memberStatus": "new",
    "_organizationId": "<string>"
  }
}

Enter your API key in the Authorization field like the example shown below:

E.g ApiKey 18d2e625f05d80e

This API is available only in V1 self-hosted docker images. Novu Cloud uses Clerk to manage users and organizations. For more information contact support@novu.co.

Authorizations

Authorization
string
headerrequired

API key authentication. Allowed headers-- "Authorization: ApiKey <api_key>".

Path Parameters

memberId
string
required

Response

200 - application/json
data
object