I created a flow that adds sites columns to the Documents Content Type, now I want to create a way to retract the changes, if needed.
/_api/web/contenttypes('0x0101')/FieldLinks?$filter=Name eq '@{items('Apply_to_each_2')?['InternalName']}'
/_api/web/contenttypes('0x0101')/FieldLinks('@{first(body('Send_an_HTTP_request_to_SharePoint_-_Get_FieldLinks')?['d']?['results'])?['ID']}')/deleteObject()

Report
All responses (
Answers (