# Segment Operations
source: https://developer.mastercard.com/benefit-allocations-service/documentation/use-cases/segment-operations/index.md

Segment use cases enable issuers to manage a cardholder's benefit segment on a PAN number in real time. A segment is a unique identifier that maps to a group of benefit bundles.

### Available Operations {#available-operations}

|                                                                     Operations                                                                      |                                     Description                                      |
|-----------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------|
| [Assign Segment](https://developer.mastercard.com/benefit-allocations-service/documentation/use-cases/segment-operations/assign_segment/index.md)   | Assign a benefit segment to a cardholder so they can access the associated benefits. |
| [Replace Segment](https://developer.mastercard.com/benefit-allocations-service/documentation/use-cases/segment-operations/replace_segment/index.md) | Replace a cardholder's current benefit segment when their eligible benefits change.  |
| [Cancel Segment](https://developer.mastercard.com/benefit-allocations-service/documentation/use-cases/segment-operations/cancel_segment/index.md)   | End a cardholder's benefit segment and remove the benefits associated with it.       |

### Assign {#assign}

|                                                                     Use Case                                                                      |            Scenario             |                                 Description                                  |
|---------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------|------------------------------------------------------------------------------|
| [Assign Segment](https://developer.mastercard.com/benefit-allocations-service/documentation/use-cases/segment-operations/assign_segment/index.md) | Assign segment                  | Assign a segment to a card.                                                  |
| [Assign Segment](https://developer.mastercard.com/benefit-allocations-service/documentation/use-cases/segment-operations/assign_segment/index.md) | Assign segment effective future | Assign a segment code that has a bundle with a future effective date.        |
| [Assign Segment](https://developer.mastercard.com/benefit-allocations-service/documentation/use-cases/segment-operations/assign_segment/index.md) | Assign segment expired past     | Assign a segment code that has a bundle that has been expired in the past.   |
| [Assign Segment](https://developer.mastercard.com/benefit-allocations-service/documentation/use-cases/segment-operations/assign_segment/index.md) | Assign segment expired future   | Assign a segment code that has a bundle that has been expired in the future. |

### Replace {#replace}

|                                                                      Use Case                                                                       |             Scenario             |                                  Description                                  |
|-----------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------|-------------------------------------------------------------------------------|
| [Replace Segment](https://developer.mastercard.com/benefit-allocations-service/documentation/use-cases/segment-operations/replace_segment/index.md) | Replace segment                  | Replace a segment associated with a card.                                     |
| [Replace Segment](https://developer.mastercard.com/benefit-allocations-service/documentation/use-cases/segment-operations/replace_segment/index.md) | Replace segment effective future | Replace a segment code that has a bundle with a future effective date.        |
| [Replace Segment](https://developer.mastercard.com/benefit-allocations-service/documentation/use-cases/segment-operations/replace_segment/index.md) | Replace segment expired past     | Replace a segment code that has a bundle that has been expired in the past.   |
| [Replace Segment](https://developer.mastercard.com/benefit-allocations-service/documentation/use-cases/segment-operations/replace_segment/index.md) | Replace segment expired future   | Replace a segment code that has a bundle that has been expired in the future. |

### Cancel {#cancel}

|                                                                     Use Case                                                                      |            Scenario             |                                 Description                                  |
|---------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------|------------------------------------------------------------------------------|
| [Cancel Segment](https://developer.mastercard.com/benefit-allocations-service/documentation/use-cases/segment-operations/cancel_segment/index.md) | Cancel segment                  | Cancel a segment associated with a card.                                     |
| [Cancel Segment](https://developer.mastercard.com/benefit-allocations-service/documentation/use-cases/segment-operations/cancel_segment/index.md) | Cancel segment effective future | Cancel a segment code that has a bundle with a future effective date.        |
| [Cancel Segment](https://developer.mastercard.com/benefit-allocations-service/documentation/use-cases/segment-operations/cancel_segment/index.md) | Cancel segment expired past     | Cancel a segment code that has a bundle that has been expired in the past.   |
| [Cancel Segment](https://developer.mastercard.com/benefit-allocations-service/documentation/use-cases/segment-operations/cancel_segment/index.md) | Cancel segment expired future   | Cancel a segment code that has a bundle that has been expired in the future. |

