Skip to main content

Prepare certificate creation

POST
/ai/gateway/library/certificates/create/prepare

Contract

Parameter
Value
Sectionai-gateway
AuthenticationAIKeyAuth
Consumesapplication/json
Producesapplication/json

Parameters

1 parameter

Name
Location
Required
Type
Description
requestbodyyesobjectcertificate { name (required), public, private }, idempotencyKey, ttlSeconds, schemaHash
  • {}

Responses

6 responses

Status
Description
Type
200
Successful responseobject
400
Invalid request body or missing certificate/nameobject
401
API key is missing or invalidobject
403
Required library:write scope is missingobject
409
Idempotency key has already been used for another requestobject
500
Internal server errorobject
  • {
      "cursor": {
        "count": 0,
        "currentPage": 0,
        "totalPages": 0,
        "totalRows": 0
      },
      "data": {}
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }