# End a customer's card. It stops earning; joining again brings it back as it was

`POST /loyalty/members/{contactId}/leave` · Rivier · contacts

End a customer's card. It stops earning; joining again brings it back as it was.

- Scope: contacts:write
- Sdk: contacts.loyalty.leave
- Cli: contacts loyalty leave

## Parameters

- `contactId` (path, required), string

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/loyalty/members/{contactId}/leave' \
  -H 'Authorization: Bearer $KEY'
```
