Remove a member
Removes a member from the customer. A member already removed answers 200 "Member removed." again and nothing changes. A member id that never existed is a 404 "Member not found."
Base URL https://payments.clocknext.com/api/v1
DELETE
apiKeyheader
AuthorizationBearer <cnk_…>Organisation-scoped key from Settings → API Keys.
id*stringCustomer id.
memberId*stringMember id.
Member removed.
application/json- response
statusCode*integerThe HTTP status code of the response, repeated in the body.
statusDetail*The status of the request. status is SUCCESS, and message says what happened.
result*The member that was removed.
curl -X DELETE 'https://payments.clocknext.com/api/v1/customers/cus_abc123/members/mem_def456'Example Response
{ "statusCode": 200, "statusDetail": { "status": "SUCCESS", "message": "Member removed." }, "result": { "removed": true, "member": { "name": "Contractor (temp)", "email": "temp.contractor@northwindtraders.com" } }}Types
Every object type on this page, with its fields.
RemovedMember
| Field | Type | Required | Description |
|---|---|---|---|
name | string | yes | The name of the member that was removed. |
email | string | null | yes | The email of the member that was removed. null when it had none. |