You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
How to pass multiple components in curl to update for a subscriber? I am able to update a single component (component_ids[]="xxxx") or all components (exclude component_ids)
curl https://api.statuspage.io/v1/pages/{page_id}/subscribers/{subscriber_id} \ -H "Authorization: OAuth your-api-key-goes-here" \ -X PATCH \ -d "component_ids[]=your-id"
Hey Balamurugan,
Thanks for reaching out to Atlassian Community.
Here's a working example from my lab that should help you:
curl -L -X PATCH 'https://api.statuspage.io/v1/pages/yourpageid/subscribers/yoursubid' -H 'Authorization: yourapikey' -H 'Content-Type: application/json' --data-raw '{
"component_ids": [
"xr3tmgfjj3k5", "t06mlw5gnz7f", "rkg1l8330g82"
]
}'
Please let me know if you got any further questions.
Best Regards,
Egor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.