- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2022 11:48 AM
Can someone please get me started on how to provide read only API access to query assignment groups? Can this be done via ITIL agent accounts or do we need to setup service accounts to do this, and what is the simplest way to get started? We will query from a Python script and are on San Diego.
Many thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2022 05:53 PM
ITIL user should have access. But if this is going to be used for an integration of some sorts, I would suggest creating a Service Account instead.
The simplest way to get started is to learn/play around with the REST API Explorer. This will let you preview REST messages and generate a python script. It's very powerful and simple to use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2022 07:46 AM
The API will bypass SSO.
When you create the service account, set the password for that user and you can use that username & password combo to authenticate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2022 05:53 PM
ITIL user should have access. But if this is going to be used for an integration of some sorts, I would suggest creating a Service Account instead.
The simplest way to get started is to learn/play around with the REST API Explorer. This will let you preview REST messages and generate a python script. It's very powerful and simple to use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2022 07:29 PM
Thank you very much that is perfect for what we need.
This is a newbie question - but how would I authenticate in to my instance from a python script, if I am using SSO?
Eg. User name="admin", Password="admin" for this code sample.
user = 'admin'
pwd = 'admin'
Many thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2022 07:46 AM
The API will bypass SSO.
When you create the service account, set the password for that user and you can use that username & password combo to authenticate.