Right now we do not have any REST(or any other) API for managing relying parties. All we have now in that regard is GUI (where you can add Trust Relationship relatively easy).
Can you please make a detailed feature request about what exactly you need, so that we can consider it and plan implementation?