Skip to content

List all trusted origins

Request

OAuth 2.0 scope:
  • okta.trustedOrigins.read

Lists all trusted origins

Query
qstring

A search string that prefix matches against the name and origin

filterstring

Filter trusted origins with a supported expression for a subset of properties. You can filter on the following properties: name, origin, status, and type (type of scopes).

Examples:
By name
filter=name eq "Example trusted origin"
afterstring

After cursor provided by a prior request

limitinteger, (int32), <= 200

Specifies the number of results

Default:20
curl -i -X GET \
  'https://subdomain.okta.com/api/v1/trustedOrigins?q=string&filter=name%20eq%20%22Example%20trusted%20origin%22&after=string&limit=20'

Responses

Success

Bodyapplication/json
Array [
createdstring, (date-time)read-only

Timestamp when the trusted origin was created

createdBystring

The ID of the user who created the trusted origin

idstringread-only

Unique identifier for the trusted origin

lastUpdatedstring, (date-time)read-only

Timestamp when the trusted origin was last updated

lastUpdatedBystring

The ID of the user who last updated the trusted origin

namestring, <= 255(TrustedOriginName)

Unique name for the trusted origin

originstring, <= 255(TrustedOriginOrigin)

Unique origin URL for the trusted origin. The supported schemes for this attribute are HTTP, HTTPS, FTP, Ionic 2, and Capacitor.

scopesArray of objects, <= 3(TrustedOriginScopes)

Array of scope types that this trusted origin is used for

statusstring(LifecycleStatus)
Enum:"ACTIVE""INACTIVE"
]
Response
[ { "id": "tos10hu7rkbtrFt1M0g4", "name": "New trusted origin", "origin": "http://example.com", "status": "ACTIVE", "scopes": [ … ], "created": "2018-01-13T01:11:44.000Z", "createdBy": "00ut5t92p6IEOi4bu0g3", "lastedUpdated": "2018-01-13T01:11:44.000Z", "lastedUpdatedBy": "00ut5t92p6IEOi4bu0g3", "_links": { … } } ]