How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Oracle Bastion API

The bastion API from Oracle — 9 operation(s) for bastion.

Oracle Bastion API is one of 378 APIs that Oracle publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Bastion. The published artifact set on APIs.io includes an OpenAPI specification and an API reference.

This API exposes 15 operations across 9 paths, and defines 18 schemas. It is described by OpenAPI 3.2.0, at version 20210331.

Requests are made against a single base URL, https://bastion.$region.oci.oraclecloud.com/20210331.

15 operations 9 paths 18 schemas 2 DELETE8 GET3 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
20210331
Base URL
https://{host}:{port}/ords/
Resource Areas
1

Paths & Operations 15

Across 9 paths, the API surfaces 15 operations — 2 DELETE, 8 GET, 3 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

bastion 15
GET
/bastions
Retrieves a list of all bastions in a compartment.
ListBastions 9 params → 200400401404429500default
POST
/bastions
Creates a new bastion.
CreateBastion 2 params body → 201400401404409429500default
DELETE
/bastions/{bastionId}
Deletes a bastion.
DeleteBastion 3 params → 202400401404412429500default
GET
/bastions/{bastionId}
Retrieves a bastion.
GetBastion 2 params → 200400401404429500default
PUT
/bastions/{bastionId}
Updates a bastion.
UpdateBastion 3 params body → 202400401404409412429500
POST
/bastions/{bastionId}/actions/changeCompartment
Moves a bastion into a different compartment.
ChangeBastionCompartment 3 params body → 204400401404409412429500
GET
/sessions
Retrieves a list of all sessions in a bastion resource.
ListSessions 9 params → 200400401404429500default
POST
/sessions
Creates a new session in a bastion.
CreateSession 2 params body → 201400401404409429500default
DELETE
/sessions/{sessionId}
Deletes a session.
DeleteSession 3 params → 202400401404412429500default
GET
/sessions/{sessionId}
Retrieves a session.
GetSession 2 params → 200400401404429500default
PUT
/sessions/{sessionId}
Updates the session.
UpdateSession 3 params body → 200400401404409412429500
GET
/workRequests
List Work Requests.
ListWorkRequests 4 params → 200400401404429500default
GET
/workRequests/{workRequestId}
Get Work Request Status.
GetWorkRequest 2 params → 200400401404429500default
GET
/workRequests/{workRequestId}/errors
Lists work request errors.
ListWorkRequestErrors 4 params → 200400401404429500default
GET
/workRequests/{workRequestId}/logs
Lists work request logs.
ListWorkRequestLogs 4 params → 200400401404429500default

Schemas 18

The contract defines 18 schemas that model the data the API accepts and returns. The most detailed are Bastion (20 properties), Session (15 properties), BastionSummary (14 properties), CreateBastionDetails (11 properties). Each schema is shown below with its type and property counts.

Session
object
A bastion session resource. A bastion session lets authorized users connect to a target resource using a Secure Shell (SSH) for a predetermined amount of time.
15 properties 8 required
Error
object
Error Information.
2 properties 2 required
CreateSessionDetails
object
The configuration details for a new bastion session. A session lets authorized users connect to a target resource for a predetermined amount of time. The Basti…
6 properties 3 required
Bastion
object
A bastion resource. A bastion provides secured, public access to target resources in the cloud that you cannot otherwise reach from the internet. A bastion res…
20 properties 9 required
ChangeBastionCompartmentDetails
object
Details about the compartment that the bastion should move to.
1 property 1 required
SessionSummary
object
Summary information for a bastion session resource.
10 properties 7 required
TargetResourceDetails
object
Details about a bastion session's target resource.
1 property 1 required
WorkRequestResource
object
A resource created or operated on by a work request.
4 properties 3 required
PublicKeyDetails
object
Public key details for a bastion session.
1 property 1 required
CreateBastionDetails
object
The configuration details for a new bastion. A bastion provides secured, public access to target resources in the cloud that you cannot otherwise reach from th…
11 properties 3 required
CreateSessionTargetResourceDetails
object
Details about a bastion session's target resource.
1 property 1 required
WorkRequestSummary
object
A description of workrequest status.
9 properties 7 required
BastionSummary
object
Summary information for a bastion resource. A bastion provides secured, public access to target resources in the cloud that you cannot otherwise reach from the…
14 properties 8 required
WorkRequestError
object
An error encountered while executing a work request.
3 properties 3 required
WorkRequestLogEntry
object
A log message from the execution of a work request.
2 properties 2 required
UpdateBastionDetails
object
The configuration to update on an existing bastion.
5 properties
UpdateSessionDetails
object
The session information to be updated.
1 property
WorkRequest
object
A description of workrequest status.
9 properties 7 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

oracle-bastion-api-openapi.yml Raw ↑

Other APIs Oracle publishes across the network.

Oracle Database REST APIs
Oracle Integration Cloud API
Oracle Fusion Cloud Applications API
Oracle Fusion Cloud Financials REST API
Oracle Fusion Cloud HCM REST API
Oracle Fusion Cloud CX Sales and Service REST API
Oracle Fusion Cloud SCM REST API
Oracle Fusion Cloud Procurement REST API
Oracle Content Management API
OCI Generative AI API
OCI AI Vision API
OCI AI Language API
Where this information came from

This is an independent, third-party profile of Oracle Bastion API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.