KeySets

Create a new KeySet

Changed on

Create a new KeySet

post/{workspace}/key-sets

Request

  • Base URL: http://localhost:8001
  • URL: http://localhost:8001/{workspace}/key-sets
  • Auth: API key in header Kong-Admin-Token

Path parameters

workspacestring required
Example:team-payments

The name of the workspace

Request body

created_atinteger nullable

Unix epoch when the resource was created.

idstring nullable

A string representing a UUID (universally unique identifier).

namestring nullable

The name to associate with the given key-set.

tagsstring[] nullable

A set of strings representing tags.

updated_atinteger nullable

Unix epoch when the resource was last updated.

Example request

{
  "id": "b58c7d9d-e54f-444c-b24d-cdfc4159f61e",
  "name": "example-key-set",
  "tags": [
    "idp-keys"
  ]
}

Response

Successfully created KeySet

created_atinteger nullable

Unix epoch when the resource was created.

idstring nullable

A string representing a UUID (universally unique identifier).

namestring nullable

The name to associate with the given key-set.

tagsstring[] nullable

A set of strings representing tags.

updated_atinteger nullable

Unix epoch when the resource was last updated.

Example response

{
  "id": "b58c7d9d-e54f-444c-b24d-cdfc4159f61e",
  "name": "example-key-set",
  "tags": [
    "idp-keys"
  ]
}

Changes