# Add domains and members to the blocklist This API method is used to block both members and domains within the Annex Cloud site. It facilitates the execution of actions that prevent specified members and domains from accessing or interacting with the site, contributing to enhanced security and control measures. Endpoint: POST /blocklist Version: 3.0.0 Security: ## Request fields (application/json): - `blocklistUsers` (string) Enter the user IDs of members you would like to add to the blocklist. Multiple user IDs can be added to the blocklist separated with a comma. Example: "sa.matthenryy12@gmail.com, joyroy.saa12" - `blocklistDomains` (string) Enter the domains you would like to add to the blocklist. Multiple domains can be added to the blocklist separated with a comma. Example: "testdomain1.com" - `blockedBy` (string) Enter the email address of the admin who has added members' user IDs, domains, or both to the blocklist. Example: "user@domain.com" ## Response 200 fields (application/json): - `userBlockListedData` (object) Displays the following details regarding the members added to the blocklist. - `userBlockListedData.alreadyBlocklistedUser` (array) Displays the list of members that have been added to the blocklist, in accordance with administrator-initiated requests. Example: "sa.matthenryy12@gmail.com, joyroy.saa12" - `domainBlocklistedData` (object) Displays the following details regarding the domains added to the blocklist. - `domainBlocklistedData.alreadyBlocklistedDomain` (array) Displays the list of domains that have been added to the blocklist, in accordance with administrator-initiated requests. Example: "testdomain1.com" - `blockedBy` (string) Displays the email ID of the administrator that has requested for users, domains, or both be added to the blocklist. Example: "xyz@annexcloud.com" ## Response 404 fields ## Response 422 fields