# Brand Authorization Removal Notification

This webhook is sent by Keeta to notify the vendor's system when a merchant fully revokes authorization for a brand. This event is triggered only when the entire brand authorization is removed, meaning all stores under the brand are deauthorized simultaneously. Upon receiving this notification, the developer's system should treat the associated access token as invalid.

Event ID: 1303

Endpoint: POST brandAuthorizationRemovalNotification
Version: v.1.0.0

## Request fields (application/json):

  - `appId` (string, required)
    Unique application ID assigned by Keeta.
    Example: "3762772727"

  - `authId` (string, required)
    Authorization record ID, which can be used for status queries.
    Example: "auth_20240324_003"

  - `createTime` (integer, required)
    Time when the event occurred, specified as milliseconds since Jan 1, 1970 (Unix epoch).
    Example: 1711268400000

  - `brandId` (integer, required)
    Unique identifier of the brand whose authorization was removed.
    Example: 4323

  - `brandName` (string, required)
    Name of the brand, provided for identification purposes.
    Example: "GUI JI"

  - `shopIds` (array, required)
    List of store IDs that were deauthorized under this brand. All stores under the brand are included.
    Example: [145541,145542,145543]

  - `opType` (integer, required)
    Operation type. Always 2 for this event (brand authorization removed).
    Example: 2

## Response 200 fields (application/json):

  - `code` (integer, required)
    A numeric status identifier indicating the result of the interface call, used to determine whether the operation executed successfully.

  - `message` (string, required)
    Text description corresponding to the status code, explaining the operation result or error cause to users.
    Example: "Success"


