Certs

Add a certificate.

Changed on

Add a certificate to the Tyk Gateway.

post/tyk/certs

Request

  • Base URL
    https://localhost:8080
  • URL
    https://localhost:8080/tyk/certs
  • Auth
    API key in header X-Tyk-Authorization

Query parameters

org_idstring

Organisation ID to add the certificate to.

Request body text/plain

string required

Response

New certificate added.

idstring
messagestring
statusstring

Example response

{
  "id": "5e9d9544a1dcd60001d0ed207c440d66ebb0a4629d21329808dce9091acf5f2fde328067a6e60e5347271d90",
  "message": "Certificate added",
  "status": "ok"
}

Changes

    • info

      the query request parameter org_id became optional

    • info

      added the non-success response with the status

    • breaking

      the query request parameter org_id became required

    • info

      removed the non-success response with the status