---
updatedAt: 2026-03-01T18:44:41.000Z
---

# Create a key collection version

Creates a version of the key collection. Use it to provide primary and secondary public keys to verify JWTs passed in client requests. If you don't already have the `collectionId`, run the [List key collections](ref:get-key-collections) operation and use the appropriate `id` value from the returned array. Also, to start using the public keys on staging or production, run the [Activate this key collection version](ref:post-activation) operation.

# OpenAPI definition

```json
{
  "externalDocs": {
    "description": "See documentation for Akamai's IoT Token Access Control API",
    "url": "https://techdocs.akamai.com/iot-token-access-control/reference"
  },
  "info": {
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "Key collections",
    "version": "v1"
  },
  "openapi": "3.0.0",
  "paths": {
    "/key-collections/{collectionId}/versions": {
      "post": {
        "description": "Creates a version of the key collection. Use it to provide primary and secondary public keys to verify JWTs passed in client requests. If you don't already have the `collectionId`, run the [List key collections](ref:get-key-collections) operation and use the appropriate `id` value from the returned array. Also, to start using the public keys on staging or production, run the [Activate this key collection version](ref:post-activation) operation.",
        "externalDocs": {
          "description": "See documentation for this operation in Akamai's IoT Token Access Control API",
          "url": "https://techdocs.akamai.com/iot-token-access-control/reference/post-key-collection-version"
        },
        "operationId": "post-key-collection-version",
        "parameters": [
          {
            "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).",
            "in": "query",
            "name": "accountSwitchKey",
            "required": false,
            "schema": {
              "example": "1-5C0YLB:1-8BYUX",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "description": "Example key for JWT operations",
                "primaryKey": "-----BEGIN PUBLIC KEY-----\nsamplepublickey\n-----END PUBLIC KEY-----"
              },
              "schema": {
                "additionalProperties": false,
                "description": "Contains information that you need to provide when creating a key collection version.",
                "properties": {
                  "description": {
                    "description": "A descriptive label for the key collection version.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "primaryKey": {
                    "description": "The primary public key that you want to use to validate JWT signatures. You can use an RSA key that's between 1024 and 4096 bits long, an ECDSA key that uses the P-256 (secp256k1) curve. Use a key in PEM format, which presents base64-encoded data between the begin header and the end footer. Make sure to use the same  encryption algorithm for the public keys in the `primaryKey` and `secondaryKey` members, either `RSA` or `ECDSA_P_256`. See [Keys and JWT signing algorithms](ref:keys-and-jwt-signing-algorithms).",
                    "minLength": 1,
                    "type": "string"
                  },
                  "secondaryKey": {
                    "description": "The secondary public key that you want to use to validate JWT signatures in case `primaryKey` fails. You can use an RSA key that's between 1024 and 4096  bits long, an ECDSA key that uses the P-256 (secp256k1) curve. Use a key in PEM format, which presents base64-encoded data between the begin header and the end footer. Make sure to use the same encryption algorithm for the public keys in the `primaryKey` and `secondaryKey` members, either `RSA` or `ECDSA_P_256`. See [Key rotation](ref:rotate-public-keys) and [Keys and JWT signing algorithms](ref:keys-and-jwt-signing-algorithms).",
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "primaryKey"
                ],
                "type": "object",
                "x-akamai": {
                  "file-path": "schemas/pem-public-keys-request.yaml"
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "algorithm": "ECDSA_P_256",
                  "collectionId": 12,
                  "createdBy": "keyAdministrator",
                  "createdDate": 1522252256725,
                  "description": "A version active in the staging environment. ",
                  "id": 2,
                  "no": 1,
                  "productionStatus": "INACTIVE",
                  "stagingStatus": "ACTIVE"
                },
                "schema": {
                  "additionalProperties": false,
                  "description": "Describes a key collection version, including the type of public keys it uses to validate JWT signatures, and whether it's active in the staging and production environments.",
                  "properties": {
                    "algorithm": {
                      "description": "The encryption algorithm of the public keys that the key collection version uses, either `RSA` or `ECDSA_P_256`. To see the public keys that the version uses, run the [Get a key collection version](ref:get-key-collection-version) operation.",
                      "enum": [
                        "RSA",
                        "ECDSA_P_256"
                      ],
                      "minLength": 1,
                      "type": "string"
                    },
                    "collectionId": {
                      "description": "Identifies the key collection for this version.",
                      "minimum": 1,
                      "type": "integer"
                    },
                    "createdBy": {
                      "description": "The username who created the key collection version.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "createdDate": {
                      "description": "An epoch timestamp when the key collection version was created.",
                      "minimum": 0,
                      "type": "integer"
                    },
                    "description": {
                      "description": "A description for the key collection version.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "id": {
                      "description": "The identifier of the key collection version.",
                      "minimum": 1,
                      "type": "integer"
                    },
                    "no": {
                      "description": "The number of the key collection version. With each new version of this key collection, this number increments by 1.",
                      "minimum": 1,
                      "type": "integer"
                    },
                    "productionStatus": {
                      "description": "The status of the key collection version in the production environment, either `INACTIVE`, `PENDING`, or `ACTIVE`.",
                      "enum": [
                        "INACTIVE",
                        "PENDING",
                        "ACTIVE"
                      ],
                      "minLength": 1,
                      "type": "string"
                    },
                    "stagingStatus": {
                      "description": "The status of the key collection version in the staging environment, either `INACTIVE`, `PENDING`, or `ACTIVE`.",
                      "enum": [
                        "INACTIVE",
                        "PENDING",
                        "ACTIVE"
                      ],
                      "minLength": 1,
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "collectionId",
                    "no",
                    "description",
                    "createdDate",
                    "createdBy",
                    "stagingStatus",
                    "productionStatus",
                    "algorithm"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/key-collection-version-response.yaml"
                  }
                }
              }
            },
            "description": "Successful response."
          },
          "400": {
            "content": {
              "application/problem+json": {
                "example": {
                  "code": "unreadable_value",
                  "field": "collectionId",
                  "incidentId": "af438c43-343c-40bb-b38c-6fd0fb2162f9",
                  "title": "Bad request",
                  "type": "/jwt-api/error-types/UNREADABLE_VALUE"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Specifies an error response returned by the IoT Token Access Control API.",
                  "properties": {
                    "code": {
                      "description": "Unique code for an error.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "detail": {
                      "description": "A human-readable explanation specific to the problem.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "details": {
                      "description": "A list of HTTP problem details. This field exists if there are many problems with a single request and you want to call them each out explicitly.",
                      "items": {
                        "additionalProperties": true,
                        "description": "Specifies nested details of an error response.",
                        "properties": {
                          "code": {
                            "description": "Unique code for an error.",
                            "minLength": 1,
                            "type": "string"
                          },
                          "detail": {
                            "description": "A human-readable explanation specific to the problem.",
                            "minLength": 1,
                            "type": "string"
                          },
                          "incidentId": {
                            "description": "A logging key useful when communicating about problems with Technical Support representatives.",
                            "minLength": 1,
                            "type": "string"
                          },
                          "instance": {
                            "description": "A non-navigable URI that identifies each error instance.",
                            "format": "uri",
                            "type": "string"
                          },
                          "status": {
                            "description": "The HTTP error code.",
                            "minimum": 0,
                            "type": "integer"
                          },
                          "title": {
                            "description": "A short, human-readable summary of the problem type.",
                            "minLength": 1,
                            "type": "string"
                          },
                          "type": {
                            "description": "A non-navigable URI that identifies each error case.",
                            "format": "uri",
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "title"
                        ],
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/http-problem-details-nested.yaml"
                        }
                      },
                      "minItems": 1,
                      "type": "array"
                    },
                    "incidentId": {
                      "description": "A logging key useful when communicating about problems with Technical Support representatives.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "instance": {
                      "description": "A non-navigable URI that identifies each error instance.",
                      "format": "uri",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP error code.",
                      "minimum": 0,
                      "type": "integer"
                    },
                    "title": {
                      "description": "A short, human-readable summary of the problem type.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "type": {
                      "description": "A non-navigable URI that identifies each error case.",
                      "format": "uri",
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "title"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/http-problem-details.yaml"
                  }
                }
              }
            },
            "description": "[Bad request](ref:400). Request is badly formed or has constraint violations.",
            "x-akamai": {
              "file-path": "errors/400.yaml"
            }
          },
          "401": {
            "content": {
              "application/problem+json": {
                "example": {
                  "code": "expired_token",
                  "incidentId": "18aa3ad2-66b7-0b4f-a9d7-81dad72eed6c",
                  "solution": "request_token",
                  "title": "Token is expired"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Specifies an error response returned by the IoT Token Access Control API.",
                  "properties": {
                    "code": {
                      "description": "Unique code for an error.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "incidentId": {
                      "description": "A logging key useful when communicating about problems with Technical Support representatives.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "solution": {
                      "description": "A short, human-readable problem solution.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "title": {
                      "description": "A short, human-readable summary of the problem type.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "type": {
                      "description": "Type of error.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "title",
                    "code"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/unauthorized.yaml"
                  }
                }
              }
            },
            "description": "[Unauthorized](ref:401).",
            "x-akamai": {
              "file-path": "errors/401.yaml"
            }
          },
          "403": {
            "content": {
              "application/problem+json": {
                "example": {
                  "code": "weeperf.jwt.access.denied",
                  "incidentId": "f5e53705-0764-4afe-aff3-823dc15c818a",
                  "title": "Access Denied",
                  "type": "/ota-api/error-types/weeperf.jwt.access.denied"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Specifies an error response returned by the IoT Token Access Control API.",
                  "properties": {
                    "code": {
                      "description": "Unique code for an error.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "detail": {
                      "description": "A human-readable explanation specific to the problem.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "details": {
                      "description": "A list of HTTP problem details. This field exists if there are many problems with a single request and you want to call them each out explicitly.",
                      "items": {
                        "additionalProperties": true,
                        "description": "Specifies nested details of an error response.",
                        "properties": {
                          "code": {
                            "description": "Unique code for an error.",
                            "minLength": 1,
                            "type": "string"
                          },
                          "detail": {
                            "description": "A human-readable explanation specific to the problem.",
                            "minLength": 1,
                            "type": "string"
                          },
                          "incidentId": {
                            "description": "A logging key useful when communicating about problems with Technical Support representatives.",
                            "minLength": 1,
                            "type": "string"
                          },
                          "instance": {
                            "description": "A non-navigable URI that identifies each error instance.",
                            "format": "uri",
                            "type": "string"
                          },
                          "status": {
                            "description": "The HTTP error code.",
                            "minimum": 0,
                            "type": "integer"
                          },
                          "title": {
                            "description": "A short, human-readable summary of the problem type.",
                            "minLength": 1,
                            "type": "string"
                          },
                          "type": {
                            "description": "A non-navigable URI that identifies each error case.",
                            "format": "uri",
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "title"
                        ],
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/http-problem-details-nested.yaml"
                        }
                      },
                      "minItems": 1,
                      "type": "array"
                    },
                    "incidentId": {
                      "description": "A logging key useful when communicating about problems with Technical Support representatives.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "instance": {
                      "description": "A non-navigable URI that identifies each error instance.",
                      "format": "uri",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP error code.",
                      "minimum": 0,
                      "type": "integer"
                    },
                    "title": {
                      "description": "A short, human-readable summary of the problem type.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "type": {
                      "description": "A non-navigable URI that identifies each error case.",
                      "format": "uri",
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "title"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/http-problem-details.yaml"
                  }
                }
              }
            },
            "description": "[Forbidden](ref:403). Not authorized to access the data that the request was made against.",
            "x-akamai": {
              "file-path": "errors/403.yaml"
            }
          },
          "404": {
            "content": {
              "application/problem+json": {
                "example": {
                  "code": "key_collection_version_not_found",
                  "incidentId": "6a5d98fc-3165-4107-a74d-df3dad31d978",
                  "title": "Collection version with id [5] is not present",
                  "type": "/jwt-api/error-types/KEY_COLLECTION_VERSION_NOT_FOUND"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Specifies an error response returned by the IoT Token Access Control API.",
                  "properties": {
                    "code": {
                      "description": "Unique code for an error.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "detail": {
                      "description": "A human-readable explanation specific to the problem.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "details": {
                      "description": "A list of HTTP problem details. This field exists if there are many problems with a single request and you want to call them each out explicitly.",
                      "items": {
                        "additionalProperties": true,
                        "description": "Specifies nested details of an error response.",
                        "properties": {
                          "code": {
                            "description": "Unique code for an error.",
                            "minLength": 1,
                            "type": "string"
                          },
                          "detail": {
                            "description": "A human-readable explanation specific to the problem.",
                            "minLength": 1,
                            "type": "string"
                          },
                          "incidentId": {
                            "description": "A logging key useful when communicating about problems with Technical Support representatives.",
                            "minLength": 1,
                            "type": "string"
                          },
                          "instance": {
                            "description": "A non-navigable URI that identifies each error instance.",
                            "format": "uri",
                            "type": "string"
                          },
                          "status": {
                            "description": "The HTTP error code.",
                            "minimum": 0,
                            "type": "integer"
                          },
                          "title": {
                            "description": "A short, human-readable summary of the problem type.",
                            "minLength": 1,
                            "type": "string"
                          },
                          "type": {
                            "description": "A non-navigable URI that identifies each error case.",
                            "format": "uri",
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "title"
                        ],
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/http-problem-details-nested.yaml"
                        }
                      },
                      "minItems": 1,
                      "type": "array"
                    },
                    "incidentId": {
                      "description": "A logging key useful when communicating about problems with Technical Support representatives.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "instance": {
                      "description": "A non-navigable URI that identifies each error instance.",
                      "format": "uri",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP error code.",
                      "minimum": 0,
                      "type": "integer"
                    },
                    "title": {
                      "description": "A short, human-readable summary of the problem type.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "type": {
                      "description": "A non-navigable URI that identifies each error case.",
                      "format": "uri",
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "title"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/http-problem-details.yaml"
                  }
                }
              }
            },
            "description": "[Not found](ref:404). Requested resource not found.",
            "x-akamai": {
              "file-path": "errors/404.yaml"
            }
          },
          "405": {
            "content": {
              "application/problem+json": {
                "example": {
                  "code": "METHOD_NOT_ALLOWED",
                  "incidentId": "865ed61f-6f9a-40a2-b11d-c8dc4292dd33",
                  "title": "Request method 'POST' is not supported",
                  "type": "/ota-api/error-types/METHOD_NOT_ALLOWED"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Specifies an error response returned by the IoT Token Access Control API.",
                  "properties": {
                    "code": {
                      "description": "Unique code for an error.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "detail": {
                      "description": "A human-readable explanation specific to the problem.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "details": {
                      "description": "A list of HTTP problem details. This field exists if there are many problems with a single request and you want to call them each out explicitly.",
                      "items": {
                        "additionalProperties": true,
                        "description": "Specifies nested details of an error response.",
                        "properties": {
                          "code": {
                            "description": "Unique code for an error.",
                            "minLength": 1,
                            "type": "string"
                          },
                          "detail": {
                            "description": "A human-readable explanation specific to the problem.",
                            "minLength": 1,
                            "type": "string"
                          },
                          "incidentId": {
                            "description": "A logging key useful when communicating about problems with Technical Support representatives.",
                            "minLength": 1,
                            "type": "string"
                          },
                          "instance": {
                            "description": "A non-navigable URI that identifies each error instance.",
                            "format": "uri",
                            "type": "string"
                          },
                          "status": {
                            "description": "The HTTP error code.",
                            "minimum": 0,
                            "type": "integer"
                          },
                          "title": {
                            "description": "A short, human-readable summary of the problem type.",
                            "minLength": 1,
                            "type": "string"
                          },
                          "type": {
                            "description": "A non-navigable URI that identifies each error case.",
                            "format": "uri",
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "title"
                        ],
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/http-problem-details-nested.yaml"
                        }
                      },
                      "minItems": 1,
                      "type": "array"
                    },
                    "incidentId": {
                      "description": "A logging key useful when communicating about problems with Technical Support representatives.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "instance": {
                      "description": "A non-navigable URI that identifies each error instance.",
                      "format": "uri",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP error code.",
                      "minimum": 0,
                      "type": "integer"
                    },
                    "title": {
                      "description": "A short, human-readable summary of the problem type.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "type": {
                      "description": "A non-navigable URI that identifies each error case.",
                      "format": "uri",
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "title"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/http-problem-details.yaml"
                  }
                }
              }
            },
            "description": "[Method Not Allowed](ref:405). Invalid method used to access resource.",
            "x-akamai": {
              "file-path": "errors/405.yaml"
            }
          },
          "406": {
            "content": {
              "application/problem+json": {
                "example": {
                  "code": "not_acceptable",
                  "incidentId": "b48e6277-361b-4ded-ad7e-39a630a6fa85",
                  "title": "No acceptable representation",
                  "type": "/jwt-api/error-types/NOT_ACCEPTABLE"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Specifies an error response returned by the IoT Token Access Control API.",
                  "properties": {
                    "code": {
                      "description": "Unique code for an error.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "detail": {
                      "description": "A human-readable explanation specific to the problem.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "details": {
                      "description": "A list of HTTP problem details. This field exists if there are many problems with a single request and you want to call them each out explicitly.",
                      "items": {
                        "additionalProperties": true,
                        "description": "Specifies nested details of an error response.",
                        "properties": {
                          "code": {
                            "description": "Unique code for an error.",
                            "minLength": 1,
                            "type": "string"
                          },
                          "detail": {
                            "description": "A human-readable explanation specific to the problem.",
                            "minLength": 1,
                            "type": "string"
                          },
                          "incidentId": {
                            "description": "A logging key useful when communicating about problems with Technical Support representatives.",
                            "minLength": 1,
                            "type": "string"
                          },
                          "instance": {
                            "description": "A non-navigable URI that identifies each error instance.",
                            "format": "uri",
                            "type": "string"
                          },
                          "status": {
                            "description": "The HTTP error code.",
                            "minimum": 0,
                            "type": "integer"
                          },
                          "title": {
                            "description": "A short, human-readable summary of the problem type.",
                            "minLength": 1,
                            "type": "string"
                          },
                          "type": {
                            "description": "A non-navigable URI that identifies each error case.",
                            "format": "uri",
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "title"
                        ],
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/http-problem-details-nested.yaml"
                        }
                      },
                      "minItems": 1,
                      "type": "array"
                    },
                    "incidentId": {
                      "description": "A logging key useful when communicating about problems with Technical Support representatives.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "instance": {
                      "description": "A non-navigable URI that identifies each error instance.",
                      "format": "uri",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP error code.",
                      "minimum": 0,
                      "type": "integer"
                    },
                    "title": {
                      "description": "A short, human-readable summary of the problem type.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "type": {
                      "description": "A non-navigable URI that identifies each error case.",
                      "format": "uri",
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "title"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/http-problem-details.yaml"
                  }
                }
              }
            },
            "description": "[Not Acceptable](ref:406). Wrong `Accept` header.",
            "x-akamai": {
              "file-path": "errors/406.yaml"
            }
          },
          "415": {
            "content": {
              "application/problem+json": {
                "example": {
                  "code": "unsupported_media_type",
                  "incidentId": "00a0c1a5-8bbd-45cf-887e-11bf095f51dd",
                  "title": "Content-Type 'application/x-www-form-urlencoded;charset=UTF-8' is not supported",
                  "type": "/jwt-api/error-types/UNSUPPORTED_MEDIA_TYPE"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Specifies an error response returned by the IoT Token Access Control API.",
                  "properties": {
                    "code": {
                      "description": "Unique code for an error.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "detail": {
                      "description": "A human-readable explanation specific to the problem.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "details": {
                      "description": "A list of HTTP problem details. This field exists if there are many problems with a single request and you want to call them each out explicitly.",
                      "items": {
                        "additionalProperties": true,
                        "description": "Specifies nested details of an error response.",
                        "properties": {
                          "code": {
                            "description": "Unique code for an error.",
                            "minLength": 1,
                            "type": "string"
                          },
                          "detail": {
                            "description": "A human-readable explanation specific to the problem.",
                            "minLength": 1,
                            "type": "string"
                          },
                          "incidentId": {
                            "description": "A logging key useful when communicating about problems with Technical Support representatives.",
                            "minLength": 1,
                            "type": "string"
                          },
                          "instance": {
                            "description": "A non-navigable URI that identifies each error instance.",
                            "format": "uri",
                            "type": "string"
                          },
                          "status": {
                            "description": "The HTTP error code.",
                            "minimum": 0,
                            "type": "integer"
                          },
                          "title": {
                            "description": "A short, human-readable summary of the problem type.",
                            "minLength": 1,
                            "type": "string"
                          },
                          "type": {
                            "description": "A non-navigable URI that identifies each error case.",
                            "format": "uri",
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "title"
                        ],
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/http-problem-details-nested.yaml"
                        }
                      },
                      "minItems": 1,
                      "type": "array"
                    },
                    "incidentId": {
                      "description": "A logging key useful when communicating about problems with Technical Support representatives.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "instance": {
                      "description": "A non-navigable URI that identifies each error instance.",
                      "format": "uri",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP error code.",
                      "minimum": 0,
                      "type": "integer"
                    },
                    "title": {
                      "description": "A short, human-readable summary of the problem type.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "type": {
                      "description": "A non-navigable URI that identifies each error case.",
                      "format": "uri",
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "title"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/http-problem-details.yaml"
                  }
                }
              }
            },
            "description": "[Unsupported Media Type](ref:415). Use the valid content type request body.",
            "x-akamai": {
              "file-path": "errors/415.yaml"
            }
          }
        },
        "summary": "Create a key collection version",
        "tags": [
          "Versions"
        ]
      },
      "parameters": [
        {
          "description": "The identifier of the key collection.",
          "in": "path",
          "name": "collectionId",
          "required": true,
          "schema": {
            "example": 1,
            "type": "integer"
          },
          "x-akamai": {
            "file-path": "parameters/collection-id-path.yaml"
          }
        }
      ],
      "x-akamai": {
        "file-path": "paths/versions.yaml",
        "path-info": "/key-collections/{collectionId}/versions"
      }
    }
  },
  "servers": [
    {
      "url": "https://{hostname}/jwt-api/v1"
    }
  ],
  "x-akamai": {
    "auth-type": "EDGE_GRID",
    "file-path": "01-key-collections.yaml"
  },
  "x-readme": {
    "samples-languages": [
      "curl",
      "python",
      "node"
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```

# Sibling pages

* [Get a key collection version](https://techdocs.akamai.com/iot-token-access-control/reference/get-key-collection-version.md)