Unbind Employment Relationship

View Markdown

Last edited on 2025-09-02

This API should be called on the server side and cannot be called directly on the client side (Mini Program, web page, APP, etc.). For details, please refer to API Call Guide.

API English Name: UnbindUserB2CAuthInfo

Bulk unbinds employment relationships that have been bound in the B2C module.

1. Call Method

HTTPS Call

POST https://api.weixin.qq.com/wxa/business/unbinduserb2cauthinfo?access_token=ACCESS_TOKEN

Cloud Call

  • This API does not support cloud call.

Third-party Call

  • This API does not support third-party platform calls.

2. Request Parameters

Query Parameters Query String Parameters

ParameterTypeRequiredExampleDescription
access_tokenstringYesACCESS_TOKENAPI call credential, you can use access_token

Request Body Request Payload

ParameterTypeRequiredExampleDescription
openid_listarrayYes["oL7T268t3zlOb64IvrN64-XXXXXX","oL7T268t3zlOb64IvrN64-YYYYYY"]List of OpenIDs of the users to be unbound

3. Response Parameters

Response Body Response Payload

ParameterTypeExampleDescription
errcodenumber0Error code
errmsgstringokError message

4. Notes

No special notes for this API

5. Code Example

Request Example

{
    "openid_list": [
        "oL7T268t3zlOb64IvrN64-XXXXXX"
    ]
}

Response Example

{
    "errcode": 0,
    "errmsg": "ok"
}

6. Error Codes

The following is the error code list of this API, other error codes can refer to Common Error Codes; When encountering errors in calling the API, you can use the official API Diagnostic Tool to assist in locating and analyzing problems.

Error CodeError DescriptionSolution
-1system errorSystem is busy. Please try again later.
40003invalid openidInvalid OpenID. Please verify the validity of the OpenID.
40097invalid argsInvalid parameter

7. Applicable Scope

This API supports 「Mini Program」 account type calls. Other account types cannot call unless otherwise specified.