In this document[1] we have added sample request to create API. There we have visibility and visible roles attributes.
"visibility": "PUBLIC", "visibleRoles": [], "visibleTenants": [], [1] https://docs.wso2.com/display/AM210/apidocs/publisher/#!/operations#APICollection#apisPost Thanks, sanjeewa. On Tue, Jan 16, 2018 at 2:55 PM, Chathurika De Silva <[email protected]> wrote: > Hi > > I am trying to creating an api using the rest interfaces to have access > control for selected roles. In Publisher UI i can set "Restricted to Roles" > as Access Control mechanism. Referred [1] to find the relevant parameter to > set the above through the REST APIs but couldn't find the reference. Any > help regarding this is much appreciated. > > [1] https://docs.wso2.com/display/AM210/apidocs/publisher/#!/models#API > > > Thanks > Erandi > > *Chathurika Erandi* > Senior Software Engineer, > WSO2 Inc. > > *E-mail:* [email protected] > *Mobile: *+94714 328 612 > *Blog*: chathurikaerandi.blogspot.com > -- *Sanjeewa Malalgoda* WSO2 Inc. Mobile : +94713068779 <http://sanjeewamalalgoda.blogspot.com/>blog :http://sanjeewamalalgoda.blogspot.com/ <http://sanjeewamalalgoda.blogspot.com/>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
