teams subscribe create
Auto-generated reference
This page is generated from checked-in CLI metadata for release v0.9.0. Do not edit it by hand.
Create a new subscription
Synopsis
teams subscribe create [OPTIONS] --resource <RESOURCE> --change-type <CHANGE_TYPE> --webhook-url <WEBHOOK_URL>
Options
| Option | Value | Required | Env | Default | Description |
|---|---|---|---|---|---|
--resource | RESOURCE | yes | Resource path to subscribe to (e.g., /teams/all/messages) | ||
--change-type | CHANGE_TYPE | yes | Change types to subscribe to (comma-separated: created,updated,deleted) | ||
--webhook-url | WEBHOOK_URL | yes | Webhook URL for notifications | ||
--expiration | EXPIRATION | no | Expiration date-time in ISO 8601 format | ||
--client-state | CLIENT_STATE | no | Client state string for validation |
Examples
No command-specific examples are published yet.
Exit Codes
| Code | Meaning |
|---|---|
| 0 | success |
| 2 | invalid input |
| 3 | authentication error |
| 4 | permission denied |
| 6 | rate limited |