Current API Session

Creates an ephemeral certificate for the current API Session

Changed on

Creates an ephemeral certificate for the current API Session. This endpoint expects a PEM encoded CSRs to be provided for fulfillment as a property of a JSON payload. It is up to the client to manage the private key backing the CSR request.

post/current-api-session/certificates

Request

Request body

csrstring required

Response

A response of a create API Session certificate

Example response

{
  "data": {
    "_links": {
      "key": {
        "comment": "comment",
        "href": "https://openapi-generator.tech",
        "method": "method"
      }
    },
    "id": "id",
    "cas": "cas",
    "certificate": "certificate"
  },
  "meta": {
    "apiEnrollmentVersion": "apiEnrollmentVersion",
    "apiVersion": "apiVersion",
    "filterableFields": [
      "filterableFields",
      "filterableFields"
    ],
    "pagination": {
      "limit": 0.8008281904610115,
      "offset": 6.027456183070403,
      "totalCount": 1.4658129805029452
    }
  }
}

Changes

    • info

      added the non-success response with the status

    • warning

      the optional response header WWW-Authenticate removed for the status 201

    • warning

      the optional response header WWW-Authenticate removed for the status 400

    • warning

      the optional response header WWW-Authenticate removed for the status 401

    • warning

      the optional response header WWW-Authenticate removed for the status 429

    • info

      removed the non-success response with the status