Skip to main content
POST
/
v2
/
loyalties
/
programs
/
{programId}
/
members
/
{memberId}
/
deactivate
Deactivate member
curl --request POST \
  --url https://api.voucherify.io/v2/loyalties/programs/{programId}/members/{memberId}/deactivate \
  --header 'Authorization: Bearer <token>' \
  --header 'X-App-Id: <api-key>' \
  --header 'X-App-Token: <api-key>'
{
  "id": "<string>",
  "customer_id": "<string>",
  "program_id": "<string>",
  "status": "ACTIVE",
  "metadata": {},
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "object": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.voucherify.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

X-App-Id
string
header
required
X-App-Token
string
header
required

Path Parameters

programId
string
required

Unique program identifier

memberId
string
required

Unique member identifier

Response

Member deactivated successfully

id
string

Unique member identifier

customer_id
string

Associated customer identifier

program_id
string

Program the member belongs to

status
enum<string>

Current member status

Available options:
ACTIVE,
INACTIVE,
DELETED
metadata
object

Custom key-value metadata

created_at
string<date-time>

ISO 8601 creation timestamp

updated_at
string<date-time> | null

ISO 8601 last update timestamp

object
string
Allowed value: "member"
Last modified on May 11, 2026