POST
/
api
/
certs
Create a certificate in Tyk org cert store.
curl --request POST \
  --url https://{tenant}/api/certs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data'
{
  "id": "5e9d9544a1dcd60001d0ed208edce514c2d0a866063550c64d6c90be99d01561ac5aa7e82b8610b7e273d37d",
  "message": "Certificate added.",
  "status": "ok"
}

Authorizations

Authorization
string
header
required

The Tyk Dashboard API Access Credentials

Body

multipart/form-data

File containing the certs.

file
file | null
required

Response

Certificates created.

id
string
Example:

"5e9d9544a1dcd60001d0ed207c440d66ebb0a4629d21329808dce9091acf5f2fde328067a6e60e5347271d90"

message
string
Example:

"Certificate added"

status
string
Example:

"ok"