cURL
curl --request PUT \ --url https://api.x.com/2/activity/subscriptions/{subscription_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "tag": "<string>", "webhook_id": "1146654567674912769" } '
{ "data": { "total_subscriptions": 123 } }
X アクティビティイベント用サブスクリプションを更新します。
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
更新するサブスクリプションの ID。 このサブスクリプションの一意の識別子。
^[0-9]{1,19}$
"1146654567674912769"
1 - 200
この Webhook 構成の一意の識別子。
リクエストは成功しました。
Show child attributes