## Deactivate `ExpressDeactivateResponse express().deactivate(ExpressDeactivateParamsparams = ExpressDeactivateParams.none(), RequestOptionsrequestOptions = RequestOptions.none())` **post** `/v1/express/{expressCustomerId}/deactivate` Deactivates a customer, preventing it from being used for new studies or user assignments. Existing data is preserved and the customer can be reactivated later. ### Parameters - `ExpressDeactivateParams params` - `Optional expressCustomerId` Unique Express customer identifier. Format: cus_{32-hex-chars} ### Returns - `class ExpressDeactivateResponse:` An Express customer entity that groups users and studies - `Optional createdAt` Timestamp when the Express customer was created - `String expressCustomerId` Unique Express customer identifier. Format: cus_{32-hex-chars} - `String expressCustomerName` Name of the Express customer - `boolean isActive` Whether the Express customer is currently active - `Optional updatedAt` Timestamp when the Express customer was last updated - `long userCount` Number of users currently in this Express customer - `Optional createdByApiKeyId` UUID of the API key used to create this Express customer, for audit tracking - `Optional createdByUserId` User ID who created this Express customer via dashboard, null if created via API key - `Optional metadata` Custom key-value metadata for the Express customer. Maximum 50 pairs, keys up to 100 chars, values up to 1000 chars ### Example ```java package com.avara.example; import com.avara.client.AvaraClient; import com.avara.client.okhttp.AvaraOkHttpClient; import com.avara.models.express.ExpressDeactivateParams; import com.avara.models.express.ExpressDeactivateResponse; public final class Main { private Main() {} public static void main(String[] args) { AvaraClient client = AvaraOkHttpClient.fromEnv(); ExpressDeactivateResponse response = client.express().deactivate("cus_1234567890abcdef1234567890abcdef"); } } ```