Oracle WebLogic Server Mail Session API

Mail Session Operations

GitHub OpenAPI

Operations 8

GET /management/weblogic/{version}/edit/mailSessionCreateForm GET A Create Form For This Mail Session Collection #
GET /management/weblogic/{version}/edit/mailSessions View This Mail Session Collection #
POST /management/weblogic/{version}/edit/mailSessions Create A New Mail Session #
DELETE /management/weblogic/{version}/edit/mailSessions/{name} Delete This Mail Session #
GET /management/weblogic/{version}/edit/mailSessions/{name} View This Mail Session #
POST /management/weblogic/{version}/edit/mailSessions/{name} Modify This Mail Session #
GET /management/weblogic/{version}/serverConfig/mailSessions View This Mail Session Collection #
GET /management/weblogic/{version}/serverConfig/mailSessions/{name} View This Mail Session #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/oracle-weblogic:oracle-weblogic-mail-session-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

oracle-weblogic-mail-session-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Oracle Weblogic Mail Session API
  version: 2024.12.04
  x-refined-note:
  - x-summary differs across the merged source definitions and was not carried
  description: 'Operations tagged Mail Session across 3 of this provider''s published API definitions: oracle-weblogic-wlrer-edit-swagger.json, oracle-weblogic-edit-management-openapi.yml, oracle-weblogic-server-config-management-openapi.yml. Each path carries the servers of the definition it was published in.'
tags:
- name: Mail Session
  description: Mail Session Operations
paths:
  /management/weblogic/{version}/edit/mailSessionCreateForm:
    parameters:
    - $ref: '#/components/parameters/Path_Parameter_version'
    get:
      tags:
      - Mail Session
      security:
      - Admin: []
      - Deployer: []
      - Monitor: []
      - Operator: []
      summary: GET A Create Form For This Mail Session Collection
      operationId: /management/weblogic/{version}/edit/mailSessionCreateFormGET
      responses:
        '200':
          x-weblogic-links:
          - relationship: create
            uri: /management/weblogic/{version}/edit/mailSessions
            description: <p>The collection resource for this create form resource.</p>
          description: <p>Returns this mail session.</p><p>This method can return the following links:</p><ul><li><b>rel</b>=create <b>uri</b>=/management/weblogic/{version}/edit/mailSessions<p>The collection resource for this create form resource.</p></li></ul>
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Mail_Session'
      parameters:
      - $ref: '#/components/parameters/Query_Parameter_excludeFields'
      - $ref: '#/components/parameters/Query_Parameter_excludeLinks'
      - $ref: '#/components/parameters/Query_Parameter_fields'
      - $ref: '#/components/parameters/Query_Parameter_links'
      description: This resource returns a pre-populated mail session model that can be customized then posted (using the POST method) to the mailSessions collection resource to create a new mail session.
      x-internal-id: management-weblogic-{version}-edit-mailSessionCreateForm-get
      x-filename-id: management-weblogic-version-edit-mailsessioncreateform-get
      x-operation-id-source: normalized
      x-operation-id-original: /management/weblogic/{version}/edit/mailSessionCreateForm GET
  /management/weblogic/{version}/edit/mailSessions:
    parameters:
    - $ref: '#/components/parameters/Path_Parameter_version'
    get:
      tags:
      - Mail Session
      security:
      - Admin: []
      - Deployer: []
      - Monitor: []
      - Operator: []
      summary: View This Mail Session Collection
      operationId: /management/weblogic/{version}/edit/mailSessionsGET
      responses:
        '200':
          x-weblogic-links:
          - relationship: create-form
            uri: /management/weblogic/{version}/edit/mailSessionCreateForm
            description: <p>The create form resource for this collection resource.</p>
          description: <p>Returns a list of mail session entities.</p><p>This method can return the following links:</p><ul><li><b>rel</b>=create-form <b>uri</b>=/management/weblogic/{version}/edit/mailSessionCreateForm<p>The create form resource for this collection resource.</p></li></ul>
          content:
            application/json:
              schema:
                title: Items
                type: array
                items:
                  $ref: '#/components/schemas/Mail_Session'
                description: ''
      parameters:
      - $ref: '#/components/parameters/Query_Parameter_excludeFields'
      - $ref: '#/components/parameters/Query_Parameter_excludeLinks'
      - $ref: '#/components/parameters/Query_Parameter_fields'
      - $ref: '#/components/parameters/Query_Parameter_links'
      description: View this mail session collection.
      x-internal-id: management-weblogic-{version}-edit-mailSessions-get
      x-filename-id: management-weblogic-version-edit-mailsessions-get
      x-operation-id-source: normalized
      x-operation-id-original: /management/weblogic/{version}/edit/mailSessions GET
    post:
      tags:
      - Mail Session
      security:
      - Admin: []
      summary: Create A New Mail Session
      operationId: /management/weblogic/{version}/edit/mailSessionsPOST
      responses:
        '201':
          description: ''
      parameters:
      - $ref: '#/components/parameters/Request_Header_X-Requested-By'
      description: Add a new mail session to this collection.
      x-internal-id: management-weblogic-{version}-edit-mailSessions-post
      x-filename-id: management-weblogic-version-edit-mailsessions-post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Mail_Session'
        description: <p>Must contain a populated mail session model.</p>
        required: true
      x-operation-id-source: normalized
      x-operation-id-original: /management/weblogic/{version}/edit/mailSessions POST
  /management/weblogic/{version}/edit/mailSessions/{name}:
    parameters:
    - $ref: '#/components/parameters/Path_Parameter_name'
    - $ref: '#/components/parameters/Path_Parameter_version'
    delete:
      tags:
      - Mail Session
      security:
      - Admin: []
      summary: Delete This Mail Session
      operationId: /management/weblogic/{version}/edit/mailSessions/{name}DELETE
      responses:
        '200':
          description: ''
      parameters:
      - $ref: '#/components/parameters/Request_Header_X-Requested-By'
      description: Delete this mail session.
      x-internal-id: management-weblogic-{version}-edit-mailSessions-{name}-delete
      x-filename-id: management-weblogic-version-edit-mailsessions-name-delete
      x-operation-id-source: normalized
      x-operation-id-original: /management/weblogic/{version}/edit/mailSessions/{name} DELETE
    get:
      tags:
      - Mail Session
      security:
      - Admin: []
      - Deployer: []
      - Monitor: []
      - Operator: []
      summary: View This Mail Session
      operationId: /management/weblogic/{version}/edit/mailSessions/{name}GET
      responses:
        '200':
          description: <p>Returns this mail session.</p>
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Mail_Session'
      parameters:
      - $ref: '#/components/parameters/Query_Parameter_excludeFields'
      - $ref: '#/components/parameters/Query_Parameter_excludeLinks'
      - $ref: '#/components/parameters/Query_Parameter_fields'
      - $ref: '#/components/parameters/Query_Parameter_links'
      description: View this mail session.
      x-internal-id: management-weblogic-{version}-edit-mailSessions-{name}-get
      x-filename-id: management-weblogic-version-edit-mailsessions-name-get
      x-operation-id-source: normalized
      x-operation-id-original: /management/weblogic/{version}/edit/mailSessions/{name} GET
    post:
      tags:
      - Mail Session
      security:
      - Admin: []
      summary: Modify This Mail Session
      operationId: /management/weblogic/{version}/edit/mailSessions/{name}POST
      responses:
        '200':
          description: ''
      parameters:
      - $ref: '#/components/parameters/Request_Header_X-Requested-By'
      description: Modify this mail session.
      x-internal-id: management-weblogic-{version}-edit-mailSessions-{name}-post
      x-filename-id: management-weblogic-version-edit-mailsessions-name-post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Mail_Session'
        description: <p>Must contain the modified mail session model.</p>
        required: true
      x-operation-id-source: normalized
      x-operation-id-original: /management/weblogic/{version}/edit/mailSessions/{name} POST
  /management/weblogic/{version}/serverConfig/mailSessions:
    parameters:
    - $ref: '#/components/parameters/Path_Parameter_version'
    get:
      tags:
      - Mail Session
      security:
      - Admin: []
      - Deployer: []
      - Monitor: []
      - Operator: []
      summary: View This Mail Session Collection
      operationId: /management/weblogic/{version}/serverConfig/mailSessionsGET
      responses:
        '200':
          description: <p>Returns a list of mail session entities.</p>
          content:
            application/json:
              schema:
                title: Items
                type: array
                items:
                  $ref: '#/components/schemas/Mail_Session'
                description: ''
      parameters:
      - $ref: '#/components/parameters/Query_Parameter_excludeFields'
      - $ref: '#/components/parameters/Query_Parameter_excludeLinks'
      - $ref: '#/components/parameters/Query_Parameter_fields'
      - $ref: '#/components/parameters/Query_Parameter_links'
      description: View this mail session collection.
      x-internal-id: management-weblogic-{version}-serverConfig-mailSessions-get
      x-filename-id: management-weblogic-version-serverconfig-mailsessions-get
      x-operation-id-source: normalized
      x-operation-id-original: /management/weblogic/{version}/serverConfig/mailSessions GET
  /management/weblogic/{version}/serverConfig/mailSessions/{name}:
    parameters:
    - $ref: '#/components/parameters/Path_Parameter_name'
    - $ref: '#/components/parameters/Path_Parameter_version'
    get:
      tags:
      - Mail Session
      security:
      - Admin: []
      - Deployer: []
      - Monitor: []
      - Operator: []
      summary: View This Mail Session
      operationId: /management/weblogic/{version}/serverConfig/mailSessions/{name}GET
      responses:
        '200':
          description: <p>Returns this mail session.</p>
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Mail_Session'
      parameters:
      - $ref: '#/components/parameters/Query_Parameter_excludeFields'
      - $ref: '#/components/parameters/Query_Parameter_excludeLinks'
      - $ref: '#/components/parameters/Query_Parameter_fields'
      - $ref: '#/components/parameters/Query_Parameter_links'
      description: View this mail session.
      x-internal-id: management-weblogic-{version}-serverConfig-mailSessions-{name}-get
      x-filename-id: management-weblogic-version-serverconfig-mailsessions-name-get
      x-operation-id-source: normalized
      x-operation-id-original: /management/weblogic/{version}/serverConfig/mailSessions/{name} GET
components:
  parameters:
    Query_Parameter_excludeLinks:
      name: excludeLinks
      description: 'The ''excludeLinks'' query parameter is used to restrict which links are returned in the response. It is a comma separated list of link relationship names. If present, only links whose relationship name is not on the list will be returned. If not present, all links are returned (unless the ''links'' query parameter is specified). Note: ''links'' must not be specified if ''excludeLinks'' is specified.'
      required: false
      in: query
      schema:
        type: string
    Path_Parameter_name:
      name: name
      description: The name property of the instance in the collection.
      required: true
      in: path
      schema:
        type: string
    Query_Parameter_excludeFields:
      name: excludeFields
      description: 'The ''excludeFields'' query parameter is used to restrict which fields are returned in the response. It is a comma separated list of field names. If present, only fields whose name is not on the list will be returned. If not present, all fields are returned (unless the ''fields'' query parameter is specified). Note: ''fields'' must not be specified if ''excludeFields'' is specified.'
      required: false
      in: query
      schema:
        type: string
    Query_Parameter_fields:
      name: fields
      description: 'The ''fields'' query parameter is used to restrict which fields are returned in the response. It is a comma separated list of field names. If present, only fields with matching names are returned. If not present, all fields are returned (unless the ''excludeFields'' query parameter is specified). Note: ''excludeFields'' must not be specified if ''fields'' is specified.'
      required: false
      in: query
      schema:
        type: string
    Query_Parameter_links:
      name: links
      description: 'The ''links'' query parameter is used to restrict which links are returned in the response. It is a comma separated list of link relationship names. If present, only links with matching relationship names are returned. If not present, all links are returned (unless the ''excludeLinks'' query parameter is specified). Note: ''excludeLinks'' must not be specified if ''links'' is specified.'
      required: false
      in: query
      schema:
        type: string
    Request_Header_X-Requested-By:
      name: X-Requested-By
      description: The 'X-Requested-By' header is used to protect against Cross-Site Request Forgery (CSRF) attacks. The value is an arbitrary name such as 'MyClient'.
      required: true
      in: header
      schema:
        type: string
    Path_Parameter_version:
      name: version
      description: The version of the WebLogic REST interface.
      required: true
      in: path
      schema:
        type: string
  schemas:
    Mail_Session:
      type: object
      properties:
        JNDIName:
          type: string
          description: <p>The JNDI Name associated with this resource.</p>
        deploymentOrder:
          default: '1000'
          minimum: '0'
          maximum: '2147483647'
          type: integer
          format: int32
          description: <p>A priority that the server uses to determine when it deploys an item. The priority is relative to other deployable items of the same type.</p><p>For example, the server prioritizes and deploys all EJBs before it prioritizes and deploys startup classes.</p><p>Items with the lowest Deployment Order value are deployed first. There is no guarantee on the order of deployments with equal Deployment Order values. There is no guarantee of ordering across clusters.</p>
        dynamicallyCreated:
          readOnly: true
          default: false
          type: boolean
          description: <p>Return whether the MBean was created dynamically or is persisted to config.xml</p>
        id:
          readOnly: true
          type: integer
          format: int64
          description: <p>Return the unique id of this MBean instance</p>
        name:
          readOnly: true
          x-weblogic-legalNull: true
          type: string
          description: <p>jmsserverjmshat on </p><p>The user-specified name of this MBean instance.</p><p>This name is included as one of the key properties in the MBean's <code>javax.management.ObjectName</code></p><p><code>Name=<i>user-specified-name</i></code></p><p><h5>Constraints</h5></p><ul><li>legal null</li></ul>
        notes:
          type: string
          description: '<p>Optional information that you can include to describe this configuration.</p><p>WebLogic Server saves this note in the domain''s configuration file (<code>config.xml</code>) as XML PCDATA. All left angle brackets (<) are converted to the XML entity <code>&lt;</code>. Carriage returns/line feeds are preserved.</p><p>Note: If you create or edit a note from the Administration Console, the Administration Console does not preserve carriage returns/line feeds.</p>'
        properties:
          type: object
          description: <p>The configuration options and user authentication data that this mail session uses to interact with a mail server. Each property that you specify overrides the default property value as defined by the JavaMail API Design Specification.</p><p>Include only the properties defined by the JavaMail API Design Specification.</p><p>If you do not specify any properties, this mail session will use the JavaMail default property values.</p><p>Express each property as a <code><i>name</i><i>value</i></code> pair. Separate multiple properties with a semicolon (<code></code>).</p>
          additionalProperties:
            type: string
          title: Properties
        sessionPassword:
          type: string
          format: password
          description: <p>The decrypted JavaMail Session password attribute, for use only temporarily in-memory; the value returned by this attribute should not be held in memory long term.</p><p>The value is stored in an encrypted form in the descriptor file and when displayed in an administration console.</p>
        sessionUsername:
          type: string
          description: <p> Returns the username to be used to create an authenticated JavaMail Session, using a JavaMail <code>Authenticator</code> instance; if this is not set, it will be assumed that the Session is not to be authenticated. </p>
        tags:
          title: Items
          type: array
          items:
            type: string
            description: ''
          description: <p>Return all tags on this Configuration MBean</p>
        targets:
          x-weblogic-restartRequired: true
          title: Target References
          type: array
          items:
            title: Target Reference
            type: object
            properties:
              identity:
                title: Identity
                type: array
                items:
                  type: string
                  description: ''
                description: DOC TEAM TBD - describe an identity - it's a reference to another WLS REST resource.
            description: Contains the target reference.
          description: Contains the array of target references. <p>You must select a target on which an MBean will be deployed from this list of the targets in the current domain on which this item can be deployed. Targets must be either servers or clusters. The deployment will only occur once if deployments overlap.</p><p><h5>Constraints</h5></p><ul><li>restart required</li></ul>
        type:
          readOnly: true
          x-weblogic-unharvestable: true
          type: string
          description: <p>Returns the type of the MBean.</p><p><h5>Constraints</h5></p><ul><li>unharvestable</li></ul>
      description: ''
  securitySchemes:
    Admin:
      type: http
      scheme: basic
      description: A user in the Admin security role.
    Deployer:
      type: http
      scheme: basic
      description: A user in the Deployer security role.
    Monitor:
      type: http
      scheme: basic
      description: A user in the Monitor security role.
    Operator:
      type: http
      scheme: basic
      description: A user in the Operator security role.
x-refined-from:
- oracle-weblogic-wlrer-edit-swagger.json
- oracle-weblogic-edit-management-openapi.yml
- oracle-weblogic-server-config-management-openapi.yml