Basic
Remove memberships
Changed onRemove memberships from a specific list in your HubSpot account. This operation is useful for managing list memberships by removing specified records from the list. The request requires a list of record IDs to be removed from the specified list.
put/crm/lists/2026-09/{listId}/memberships/remove
Request
- Base URLhttps://api.hubapi.com
- URLhttps://api.hubapi.com/crm/lists/2026-09/{listId}/memberships/remove
- Auth
- OAuth 2Authorization code: https://app.hubspot.com/oauth/authorizeToken URL: https://api.hubapi.com/oauth/v1/token scopes: crm.lists.write, crm.segments.read
- or OAuth 2Authorization code: https://app.hubspot.com/oauth/authorizeToken URL: https://api.hubapi.com/oauth/v1/token scopes: cms.membership.access_groups.write, crm.lists.read
- or OAuth 2Authorization code: https://app.hubspot.com/oauth/authorizeToken URL: https://api.hubapi.com/oauth/v1/token scopes: crm.segments.read, crm.segments.write
- or OAuth 2Authorization code: https://app.hubspot.com/oauth/authorizeToken URL: https://api.hubapi.com/oauth/v1/token scopes: crm.lists.read, crm.segments.write
- or OAuth 2Authorization code: https://app.hubspot.com/oauth/authorizeToken URL: https://api.hubapi.com/oauth/v1/token scopes: crm.lists.read, crm.lists.write
- or OAuth 2Authorization code: https://app.hubspot.com/oauth/authorizeToken URL: https://api.hubapi.com/oauth/v1/token scopes: cms.membership.access_groups.write, crm.segments.read
Path parameters
listIdstring required
The unique identifier of the list from which memberships will be removed.
Request body
string[] required
Response
successful operation
Changes
- info
the security scope
crm.lists.writewas added to the endpoint's security schemeoauth2 - info
the security scope
cms.membership.access_groups.writewas removed from the endpoint's security schemeoauth2
- info
- info
the security scope
crm.lists.writewas added to the endpoint's security schemeoauth2 - info
the security scope
cms.membership.access_groups.writewas removed from the endpoint's security schemeoauth2
- info