When enabled, any user can create resource matches. When disabled, the resource match endpoint always returns an empty array of matches.
GET /v2/config/feature_flags/resource_matching
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1MyIsImVtYWlsIjoiZW1haWwtMjQ4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDB9.3iK1BwesN-m07GBE-WKv5LwqhMd8P0bSeLvg-Doyw-o Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/config/feature_flags/resource_matching" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1MyIsImVtYWlsIjoiZW1haWwtMjQ4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDB9.3iK1BwesN-m07GBE-WKv5LwqhMd8P0bSeLvg-Doyw-o" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "name": "resource_matching", "enabled": true, "error_message": null, "url": "/v2/config/feature_flags/resource_matching" }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 564ae736-51dd-4cd0-9baf-4c6917aabc5b Content-Length: 128 X-Content-Type-Options: nosniff