Okta · Capability
Okta API — TrustedOrigin
Okta API — TrustedOrigin. 7 operations. Lead operation: TrustedOrigin. Self-contained Naftiko capability covering one Okta business surface.
What You Can Do
GET
Listorigins
— Success
/v1/api/v1/trustedorigins
POST
Createorigin
— Success
/v1/api/v1/trustedorigins
GET
Getorigin
— Success
/v1/api/v1/trustedorigins/{trustedoriginid}
PUT
Updateorigin
— Success
/v1/api/v1/trustedorigins/{trustedoriginid}
DELETE
Deleteorigin
— Success
/v1/api/v1/trustedorigins/{trustedoriginid}
POST
Activateorigin
— Success
/v1/api/v1/trustedorigins/{trustedoriginid}/lifecycle/activate
POST
Deactivateorigin
— Success
/v1/api/v1/trustedorigins/{trustedoriginid}/lifecycle/deactivate
MCP Tools
success
Success
read-only
idempotent
success-2
Success
success-3
Success
read-only
idempotent
success-4
Success
idempotent
success-5
Success
idempotent
success-6
Success
success-7
Success
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Okta API — TrustedOrigin
description: 'Okta API — TrustedOrigin. 7 operations. Lead operation: TrustedOrigin. Self-contained Naftiko capability covering
one Okta business surface.'
tags:
- Okta
- TrustedOrigin
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
OKTA_API_KEY: OKTA_API_KEY
capability:
consumes:
- type: http
namespace: okta-trustedorigin
baseUri: https://your-subdomain.okta.com
description: Okta API — TrustedOrigin business capability. Self-contained, no shared references.
resources:
- name: api-v1-trustedOrigins
path: /api/v1/trustedOrigins
operations:
- name: listorigins
method: GET
description: Success
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: q
in: query
type: string
- name: filter
in: query
type: string
- name: after
in: query
type: string
- name: limit
in: query
type: integer
- name: createorigin
method: POST
description: Success
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: api-v1-trustedOrigins-trustedOriginId
path: /api/v1/trustedOrigins/{trustedOriginId}
operations:
- name: getorigin
method: GET
description: Success
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: trustedOriginId
in: path
type: string
required: true
- name: updateorigin
method: PUT
description: Success
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: trustedOriginId
in: path
type: string
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: deleteorigin
method: DELETE
description: Success
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: trustedOriginId
in: path
type: string
required: true
- name: api-v1-trustedOrigins-trustedOriginId-lifecycle-activate
path: /api/v1/trustedOrigins/{trustedOriginId}/lifecycle/activate
operations:
- name: activateorigin
method: POST
description: Success
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: trustedOriginId
in: path
type: string
required: true
- name: api-v1-trustedOrigins-trustedOriginId-lifecycle-deactivate
path: /api/v1/trustedOrigins/{trustedOriginId}/lifecycle/deactivate
operations:
- name: deactivateorigin
method: POST
description: Success
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: trustedOriginId
in: path
type: string
required: true
authentication:
type: apikey
key: Authorization
value: '{{env.OKTA_API_KEY}}'
placement: header
exposes:
- type: rest
namespace: okta-trustedorigin-rest
port: 8080
description: REST adapter for Okta API — TrustedOrigin. One Spectral-compliant resource per consumed operation, prefixed
with /v1.
resources:
- path: /v1/api/v1/trustedorigins
name: api-v1-trustedorigins
description: REST surface for api-v1-trustedOrigins.
operations:
- method: GET
name: listorigins
description: Success
call: okta-trustedorigin.listorigins
with:
q: rest.q
filter: rest.filter
after: rest.after
limit: rest.limit
outputParameters:
- type: object
mapping: $.
- method: POST
name: createorigin
description: Success
call: okta-trustedorigin.createorigin
with:
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/api/v1/trustedorigins/{trustedoriginid}
name: api-v1-trustedorigins-trustedoriginid
description: REST surface for api-v1-trustedOrigins-trustedOriginId.
operations:
- method: GET
name: getorigin
description: Success
call: okta-trustedorigin.getorigin
with:
trustedOriginId: rest.trustedOriginId
outputParameters:
- type: object
mapping: $.
- method: PUT
name: updateorigin
description: Success
call: okta-trustedorigin.updateorigin
with:
trustedOriginId: rest.trustedOriginId
body: rest.body
outputParameters:
- type: object
mapping: $.
- method: DELETE
name: deleteorigin
description: Success
call: okta-trustedorigin.deleteorigin
with:
trustedOriginId: rest.trustedOriginId
outputParameters:
- type: object
mapping: $.
- path: /v1/api/v1/trustedorigins/{trustedoriginid}/lifecycle/activate
name: api-v1-trustedorigins-trustedoriginid-lifecycle-activate
description: REST surface for api-v1-trustedOrigins-trustedOriginId-lifecycle-activate.
operations:
- method: POST
name: activateorigin
description: Success
call: okta-trustedorigin.activateorigin
with:
trustedOriginId: rest.trustedOriginId
outputParameters:
- type: object
mapping: $.
- path: /v1/api/v1/trustedorigins/{trustedoriginid}/lifecycle/deactivate
name: api-v1-trustedorigins-trustedoriginid-lifecycle-deactivate
description: REST surface for api-v1-trustedOrigins-trustedOriginId-lifecycle-deactivate.
operations:
- method: POST
name: deactivateorigin
description: Success
call: okta-trustedorigin.deactivateorigin
with:
trustedOriginId: rest.trustedOriginId
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: okta-trustedorigin-mcp
port: 9090
transport: http
description: MCP adapter for Okta API — TrustedOrigin. One tool per consumed operation, routed inline through this capability's
consumes block.
tools:
- name: success
description: Success
hints:
readOnly: true
destructive: false
idempotent: true
call: okta-trustedorigin.listorigins
with:
q: tools.q
filter: tools.filter
after: tools.after
limit: tools.limit
outputParameters:
- type: object
mapping: $.
- name: success-2
description: Success
hints:
readOnly: false
destructive: false
idempotent: false
call: okta-trustedorigin.createorigin
with:
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: success-3
description: Success
hints:
readOnly: true
destructive: false
idempotent: true
call: okta-trustedorigin.getorigin
with:
trustedOriginId: tools.trustedOriginId
outputParameters:
- type: object
mapping: $.
- name: success-4
description: Success
hints:
readOnly: false
destructive: false
idempotent: true
call: okta-trustedorigin.updateorigin
with:
trustedOriginId: tools.trustedOriginId
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: success-5
description: Success
hints:
readOnly: false
destructive: true
idempotent: true
call: okta-trustedorigin.deleteorigin
with:
trustedOriginId: tools.trustedOriginId
outputParameters:
- type: object
mapping: $.
- name: success-6
description: Success
hints:
readOnly: false
destructive: false
idempotent: false
call: okta-trustedorigin.activateorigin
with:
trustedOriginId: tools.trustedOriginId
outputParameters:
- type: object
mapping: $.
- name: success-7
description: Success
hints:
readOnly: false
destructive: false
idempotent: false
call: okta-trustedorigin.deactivateorigin
with:
trustedOriginId: tools.trustedOriginId
outputParameters:
- type: object
mapping: $.