curl --location --request GET 'https://app.launchdarkly.com/api/v2/roles/'
{
"_id": "5a580a01b4ff89217bdf9dc1",
"_links": {
"next": {
"href": "/api/v2/endpoint",
"type": "application/json"
},
"self": {
"href": "/api/v2/endpoint",
"type": "application/json"
}
},
"description": "Description of revenue team role here",
"key": "revenue-team",
"name": "revenue team",
"policy": [
{
"actions": [
"updateOn"
],
"effect": "deny",
"notActions": [
"updateOn"
],
"notResources": [
"proj/*:env/*:flag/my-flag"
],
"resources": [
"proj/*:env/*:flag/my-flag"
]
}
]
}