Which access/role we need to connect Service Now API?

Balakrishnan N
Kilo Contributor

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

1 ACCEPTED SOLUTION

Harsh Vardhan
Giga Patron

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. 

View solution in original post

30 REPLIES 30

Prasant Kumar 1
Kilo Sage

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