Okta Admin Management API
/Access Controls
//
Deactivate a trusted orig...
OAuth 2.0 scope:
- okta.trustedOrigins.manage
Deactivates a trusted origin. Sets the status to INACTIVE.
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/trustedOrigins/{trustedOriginId}/lifecycle/deactivate
curl -i -X POST \
https://subdomain.okta.com/api/v1/trustedOrigins/7j2PkU1nyNIDe26ZNufR/lifecycle/deactivateSuccess
Unique origin URL for the trusted origin. The supported schemes for this attribute are HTTP, HTTPS, FTP, Ionic 2, and Capacitor.
Array of scope types that this trusted origin is used for
Specifies link relations (see Web Linking) available using the JSON Hypertext Application Language specification. This object is used for dynamic discovery of related resources and lifecycle operations.
Response
{ "id": "tos10hu7rkbtrFt1M0g4", "name": "New trusted origin", "origin": "http://example.com", "status": "INACTIVE", "scopes": [ { … }, { … } ], "created": "2018-01-13T01:11:44.000Z", "createdBy": "00ut5t92p6IEOi4bu0g3", "lastedUpdated": "2018-01-13T01:11:44.000Z", "lastedUpdatedBy": "00ut5t92p6IEOi4bu0g3", "_links": { "activate": { … }, "self": { … } } }