# Users ## Add `client.express.users.add(stringexpressCustomerID, UserAddParamsbody, RequestOptionsoptions?): UserAddResponse` **post** `/v1/express/{expressCustomerId}/users` Associates an existing user with a customer, granting them access to customer-specific resources and studies. ### Parameters - `expressCustomerID: string` Unique Express customer identifier. Format: cus_{32-hex-chars} - `body: UserAddParams` - `userId: string` User ID to add to the Express customer. Format: usr_{32-hex-chars} ### Returns - `UserAddResponse` Standard success response with optional message - `success: boolean` - `message?: string` ### Example ```typescript import Avara from 'avara'; const client = new Avara({ apiKey: process.env['AVARA_API_KEY'], // This is the default and can be omitted }); const response = await client.express.users.add('cus_1234567890abcdef1234567890abcdef', { userId: 'usr_1234567890abcdef1234567890abcdef', }); console.log(response.success); ``` ## Remove `client.express.users.remove(stringexpressCustomerID, UserRemoveParamsbody, RequestOptionsoptions?): UserRemoveResponse` **delete** `/v1/express/{expressCustomerId}/users` Removes a user's association with a customer, revoking their access to customer-specific resources. The user account remains active but is no longer linked to this customer. ### Parameters - `expressCustomerID: string` Unique Express customer identifier. Format: cus_{32-hex-chars} - `body: UserRemoveParams` - `userId: string` User ID to remove from the Express customer. Format: usr_{32-hex-chars} ### Returns - `UserRemoveResponse` Standard success response with optional message - `success: boolean` - `message?: string` ### Example ```typescript import Avara from 'avara'; const client = new Avara({ apiKey: process.env['AVARA_API_KEY'], // This is the default and can be omitted }); const user = await client.express.users.remove('cus_1234567890abcdef1234567890abcdef', { userId: 'usr_1234567890abcdef1234567890abcdef', }); console.log(user.success); ```