- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2020 12:06 AM
Hi Team,
what kind of access/role we need to connect ServiceNow api. for example, to use the below url which kind of access/role we need to get.
GET https://instance.service-now.com/api/now/v1/table/incident
PUT https://instance.service-now.com/api/now/v1/table/incident/{sys_id}?
Here I need to have an access/role for both the operation ie., GET and PUT.
Regards,
Bala N
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2020 12:18 AM
reason : you are using get method , it means all the records you can fetch, minimum ITIL role required to fetch the details. same for put method, minimum itil role required to update any incident record.
so in-short itil role is enough.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2020 08:09 PM
Hi,
You can create a user in the target instance whose end points you want to use by navigating to user table.
Provide the below roles to the user for accessing the resources through REST Endpoints.
1. rest_service
2. web_service_admin
If i was able to solve your query, please mark my answer correct and helpful.
Thanks & Regards
Prasant kumar sahu