PATCH https://api.sorryapp.com/v1/pages/:page_id/components/:component_id
Use this to update a single component associated to a status page.
Example Request
curl -X PATCH https://api.sorryapp.com/v1/pages/:page_id/components/:component_id \
-d name="Artemis" \
-H "Authorization: 129spul0wcxabrfsnscn6lwrledmp2afbuaxgt1w42s74xds70fgln85e4s3"
Example Response
{
"response": {
"id": 46122,
"state": "degraded",
"name": "Artemis",
"description": "A mission to send humans back to the Moon",
"position": 15,
"parent_id": null,
"created_at": "2022-12-02T11:11:48.707Z",
"updated_at": "2022-12-02T11:49:41.280Z"
}
}%