curl --location --request GET 'https://api.synap.ac/v3/access-policies/'
{
"data": {
"id": "FID001",
"type": "AccessPolicy",
"attributes": {
"target": "string",
"targetLabel": "string",
"subTarget": "string",
"action": "string",
"actionLabel": "string",
"effect": "allow",
"position": 0,
"inherited": true,
"isSpecific": true,
"isCore": true,
"targetCondition": {
"field": "string",
"operation": "$eq",
"value": "string"
}
},
"relationships": {
"userGroup": {
"data": {
"id": "FID001",
"type": "UserGroup"
}
},
"associations": {
"data": [
{
"id": "FID001",
"type": "AccessPolicy"
}
]
},
"targetResources": [
{
"id": "string",
"type": "TargetResource",
"attributes": {
"title": "string",
"type": "string"
}
}
]
}
},
"included": [
{
"id": "FID001",
"type": "_User",
"attributes": {},
"relationships": {
"property1": {
"data": {
"id": "FID001",
"type": "_User"
},
"links": {
"self": "string",
"related": "string"
},
"meta": {}
},
"property2": {
"data": {
"id": "FID001",
"type": "_User"
},
"links": {
"self": "string",
"related": "string"
},
"meta": {}
}
}
}
]
}