Bots - Set Bot As Quarantined
Set Bot as Quarantined.
Set the quarantine status of a bot to true.
POST https://api.powerplatform.com/powervirtualagents/environments/{EnvironmentId}/bots/{BotId}/api/botQuarantine/SetAsQuarantined?api-version=2022-03-01-preview
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
Bot
|
path | True |
string |
The bot ID. |
|
Environment
|
path | True |
string |
The environment ID. |
|
api-version
|
query | True |
string |
The API version. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
Successful response |
Security
oauth2
Microsoft Entra ID OAuth2
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize?resource=https://api.powerplatform.com
Scopes
| Name | Description |
|---|---|
| .default | .default |
Definitions
BotQuarantineStatus
| Name | Type | Description |
|---|---|---|
| isBotQuarantined |
boolean |
Indicates whether the bot is quarantined. |
| lastUpdateTimeUtc |
string (date-time) |
The last update time in UTC. |