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
이 웹훅 구성의 고유 식별자입니다.
요청이 성공했습니다.
Show child attributes