RBAC to control access to API content - Assign Roles to Developer $ http patch :31001/developers/
[email protected] roles:='["Internal-Developers"]' Kong-Admin-Token:kong HTTP/1.1 200 OK ... { "developer": { "consumer": { "id": "d6b9c444-1398-497a-9068-2bb724177f68" }, "created_at": 1587650139, "email": "
[email protected]", "id": "a6fe186d-bf16-41e8-b431-b53b61a316e3", "meta": "{\"full_name\":\"Internal Developer\"}", "rbac_user": { "id": "3f83d6cb-c338-4855-be78-364d6906861a" }, "roles": [ "Internal-Developers" ], "status": 0, "updated_at": 1587650696 } } $ http patch :31001/developers/
[email protected] roles:='["External-Developers"]' Kong-Admin-Token:kong HTTP/1.1 200 OK ... { "developer": { "consumer": { "id": "8e064119-538e-4149-85c5-48875b4f6814" }, "created_at": 1587650218, "email": "
[email protected]", "id": "39c6af17-3514-4286-a14f-9a88abfcf5ee", "meta": "{\"full_name\":\"External Developer\"}", "rbac_user": { "id": "57517f51-2a07-4698-b876-864ab874f143" }, "roles": [ "External-Developers" ], "status": 0, "updated_at": 1587650722 } }