# Change a Card Status source: https://developer.mastercard.com/mastercard-processing-core/documentation/use-cases/card-lifecycle/change-card-status/index.md ## Overview {#overview} The use case describes the process to change the status of a specified card contract. ## Sequence diagram {#sequence-diagram} Diagram change-card-status ### Explanation {#explanation} 1. The server sends a `PUT` request to the `/cards/card_contract_id}/status` endpoint passing in the request body the `statusCode` field containing the value of the expected status to be set. Note: You can use only the `statusCode` values preconfigured in the CMS during the onboarding process. Refer to [Card Contract Status](https://developer.mastercard.com/mastercard-processing-core/documentation/guides/status-changes/index.md#card-contract-status) for more information. 2. The API returns the HTTP status `204`. Refer to [Sandbox testing](https://developer.mastercard.com/mastercard-processing-core/documentation/sandbox-testing/card-lifecycle-management/change-card-status/index.md) for information on how to execute the use case in the Sandbox environment. ## Endpoint {#endpoint} API Reference: `PUT /cards/{card_contract_id}/status`