DeleteMicrosoftTeamsConfiguredTeam
Deletes the Microsoft Teams team authorization allowing for channels to be configured in that Microsoft Teams team. Note that the Microsoft Teams team must have no channels configured to remove it.
Request Syntax
POST /delete-ms-teams-configured-teams HTTP/1.1
Content-type: application/json
{
"TeamId": "string
"
}
URI Request Parameters
The request does not use any URI parameters.
Request Body
The request accepts the following data in JSON format.
- TeamId
-
The ID of the Microsoft Teams team authorized with AWS Chatbot.
To get the team ID, you must perform the initial authorization flow with Microsoft Teams in the AWS Chatbot console. Then you can copy and paste the team ID from the console. For more information, see Step 1: Configure a Microsoft Teams client in the AWS Chatbot Administrator Guide.
Type: String
Length Constraints: Fixed length of 36.
Pattern:
[0-9A-Fa-f]{8}(?:-[0-9A-Fa-f]{4}){3}-[0-9A-Fa-f]{12}
Required: Yes
Response Syntax
HTTP/1.1 204
Response Elements
If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
- DeleteTeamsConfiguredTeamException
-
We can’t process your request right now because of a server issue. Try again later.
HTTP Status Code: 500
- InvalidParameterException
-
Your request input doesn't meet the constraints required by AWS Chatbot.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: