curl --location 'http://127.0.0.1:50032/api/check/resources' \
--header 'Content-Type: application/json' \
--data '{
  "requestId": "10-tenants_PP-1196-DEVOPS-TESTING-pdp_test-allowed-tenants",
  "principal": {
    "id": "4d5f24f5-83f9-4989-9f82-0924a5feaf88",
    "roles": [
      "user"
    ],
    "attr": {
      "type": "human",
      "tenants": {
        "b56bc611-e9c4-42f6-ba0c-62305eb7eba3": {
          "roles": {
            "audience_development_analyst": {
              "role": "audience_development_analyst"
            }
          },
          "tenant_type": "account",
          "tenant_uuid": "b56bc611-e9c4-42f6-ba0c-62305eb7eba3"
        },
        "0f7e003e-176e-4a30-a7e7-85e2dd72d58a": {
          "roles": {
            "audience_development_client": {
              "role": "audience_development_client"
            }
          },
          "tenant_type": "subaccount",
          "tenant_uuid": "0f7e003e-176e-4a30-a7e7-85e2dd72d58a"
        },
        "6bb3ac2c-1e16-4a41-9f1d-0b361412a8be": {
          "roles": {
            "audience_development_analyst": {
              "role": "audience_development_analyst"
            }
          },
          "tenant_type": "account",
          "tenant_uuid": "6bb3ac2c-1e16-4a41-9f1d-0b361412a8be"
        },
        "aba5f359-26e9-4174-b49c-fbf0352835a3": {
          "roles": {
            "audience_development_client": {
              "role": "audience_development_client"
            }
          },
          "tenant_type": "subaccount",
          "tenant_uuid": "aba5f359-26e9-4174-b49c-fbf0352835a3"
        },
        "45d6d920-d541-4b5b-bf43-37a467559bdc": {
          "roles": {
            "audience_development_analyst": {
              "role": "audience_development_analyst"
            }
          },
          "tenant_type": "account",
          "tenant_uuid": "45d6d920-d541-4b5b-bf43-37a467559bdc"
        },
        "d530528d-ae4d-4ab5-a894-b50a11fca8e9": {
          "roles": {
            "audience_development_client": {
              "role": "audience_development_client"
            }
          },
          "tenant_type": "subaccount",
          "tenant_uuid": "d530528d-ae4d-4ab5-a894-b50a11fca8e9"
        },
        "8a0eebfe-0600-448b-adb9-e45a61d1d68f": {
          "roles": {
            "audience_development_analyst": {
              "role": "audience_development_analyst"
            }
          },
          "tenant_type": "account",
          "tenant_uuid": "8a0eebfe-0600-448b-adb9-e45a61d1d68f"
        },
        "3381bdb4-b136-4421-9a68-4f17cd931b21": {
          "roles": {
            "audience_development_client": {
              "role": "audience_development_client"
            }
          },
          "tenant_type": "subaccount",
          "tenant_uuid": "3381bdb4-b136-4421-9a68-4f17cd931b21"
        },
        "efec5ca3-97d6-46b0-9dfa-dfe5755d0cb5": {
          "roles": {
            "audience_development_analyst": {
              "role": "audience_development_analyst"
            }
          },
          "tenant_type": "account",
          "tenant_uuid": "efec5ca3-97d6-46b0-9dfa-dfe5755d0cb5"
        },
        "32f97302-b63c-49de-a549-56a5f1acd254": {
          "roles": {
            "audience_development_client": {
              "role": "audience_development_client"
            }
          },
          "tenant_type": "subaccount",
          "tenant_uuid": "32f97302-b63c-49de-a549-56a5f1acd254"
        }
      }
    },
    "policyVersion": "default",
    "scope": ""
  },
  "resources": [
    {
      "resource": {
        "id": "0",
        "kind": "contribution",
        "attr": {
          "tenant": {
            "tenant_type": "account",
            "tenant_uuid": "0268c332-8e7c-4c4e-9bb3-04532eb51c82"
          }
        },
        "policyVersion": "default",
        "scope": ""
      },
      "actions": [
        "no.such.action2"
      ]
    },
    {
      "resource": {
        "id": "0",
        "kind": "contribution",
        "attr": {
          "tenant": {
            "tenant_type": "account",
            "tenant_uuid": "0268c332-8e7c-4c4e-9bb3-04532eb51c82"
          }
        },
        "policyVersion": "default",
        "scope": ""
      },
      "actions": [
        "no.such.action2"
      ]
    },
    {
      "resource": {
        "id": "0",
        "kind": "contribution",
        "attr": {
          "tenant": {
            "tenant_type": "account",
            "tenant_uuid": "0268c332-8e7c-4c4e-9bb3-04532eb51c82"
          }
        },
        "policyVersion": "default",
        "scope": ""
      },
      "actions": [
        "no.such.action2"
      ]
    },
    {
      "resource": {
        "id": "0",
        "kind": "contribution",
        "attr": {
          "tenant": {
            "tenant_type": "account",
            "tenant_uuid": "0268c332-8e7c-4c4e-9bb3-04532eb51c82"
          }
        },
        "policyVersion": "default",
        "scope": ""
      },
      "actions": [
        "no.such.action2"
      ]
    },
    {
      "resource": {
        "id": "0",
        "kind": "contribution",
        "attr": {
          "tenant": {
            "tenant_type": "account",
            "tenant_uuid": "0268c332-8e7c-4c4e-9bb3-04532eb51c82"
          }
        },
        "policyVersion": "default",
        "scope": ""
      },
      "actions": [
        "no.such.action2"
      ]
    },
    {
      "resource": {
        "id": "0",
        "kind": "contribution",
        "attr": {
          "tenant": {
            "tenant_type": "account",
            "tenant_uuid": "0268c332-8e7c-4c4e-9bb3-04532eb51c82"
          }
        },
        "policyVersion": "default",
        "scope": ""
      },
      "actions": [
        "no.such.action2"
      ]
    },
    {
      "resource": {
        "id": "0",
        "kind": "contribution",
        "attr": {
          "tenant": {
            "tenant_type": "account",
            "tenant_uuid": "0268c332-8e7c-4c4e-9bb3-04532eb51c82"
          }
        },
        "policyVersion": "default",
        "scope": ""
      },
      "actions": [
        "no.such.action2"
      ]
    },
    {
      "resource": {
        "id": "0",
        "kind": "contribution",
        "attr": {
          "tenant": {
            "tenant_type": "account",
            "tenant_uuid": "0268c332-8e7c-4c4e-9bb3-04532eb51c82"
          }
        },
        "policyVersion": "default",
        "scope": ""
      },
      "actions": [
        "no.such.action2"
      ]
    },
    {
      "resource": {
        "id": "0",
        "kind": "contribution",
        "attr": {
          "tenant": {
            "tenant_type": "account",
            "tenant_uuid": "0268c332-8e7c-4c4e-9bb3-04532eb51c82"
          }
        },
        "policyVersion": "default",
        "scope": ""
      },
      "actions": [
        "no.such.action2"
      ]
    },
    {
      "resource": {
        "id": "0",
        "kind": "contribution",
        "attr": {
          "tenant": {
            "tenant_type": "account",
            "tenant_uuid": "0268c332-8e7c-4c4e-9bb3-04532eb51c82"
          }
        },
        "policyVersion": "default",
        "scope": ""
      },
      "actions": [
        "no.such.action2"
      ]
    }
  ],
  "auxData": null
}'
