The Spanish version is the authoritative reference. View in Spanish
blockUnblockCompany
PATCH /api/account/blockUnblockCompany/{countryId}
Blocks or unblocks a company's access to the Gosocket platform.
SBX
https://gosocket-onboarding-api-sbx.gosocket.net/api/account/blockUnblockCompany/{countryId}PRD
https://global-apim-prd.gosocket.net/ms-onboardingapi/api/account/blockUnblockCompany/{countryId}value field in the responseThe value field in the response is a serialized JSON string (not an object). It must be parsed to access the record fields (AccountCode, Active, Key, etc.).
| Field | Type | Req. | Description |
|---|---|---|---|
countryId (path) | string | Required | ISO country code |
taxId | string | Required | Company TaxId |
value | boolean | Required | true = block · false = unblock |
blockUnblockCompany
{
"taxId": "{{taxId}}",
"value": true
}