Delete Message Rules


Delete message rules

Request Format


POST https://{apigw-address}/app-portal-service/v2.2/message-service/rule/delete

Request Parameters (Header)


Name

Mandatory/Optional

Data Type

Description

Authorization

Optional

String

User identification

Request Parameters (URI)


Name

Mandatory/Optional

Data Type

Description

orgId

Mandatory

String

OU ID

Request Parameters (Body)


Name

Mandatory/Optional

Data Type

Description

ruleIds

Mandatory

List

The list of message rule IDs

Response Parameters


Name

Data Type

Description

data

Boolean

True for deleted, false for failed to delete

Error Codes


Samples

Request Sample


url: https://{apigw-address}/app-portal-service/v2.2/message-service/rule/delete?orgId=oxxxxxxxxxxx

method: POST

requestBody:
{
    "ruleIds": ["mrxxxxxx", "mrxxxxxx"]
}

Return Sample


{
    "code": 0,
    "message": "OK",
    "data": true
}