KeySets
Upsert a KeySet
Changed onCreate or Update KeySet using ID or name.
put/{workspace}/key-sets/{KeySetIdOrName}
Request
- Base URLhttp://localhost:8001
- AuthAPI key in header Kong-Admin-Token
Path parameters
KeySetIdOrName, string required
ID or name of the KeySet to lookup
workspace, string required
Example:team-payments
The name of the workspace
Request body
Key Set required
created_at, integer nullable
Unix epoch when the resource was created.
id, string nullable
A string representing a UUID (universally unique identifier).
name, string nullable
The name to associate with the given key-set.
tags, string[] nullable
A set of strings representing tags.
updated_at, integer 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 upserted KeySet
Key Set required
created_at, integer nullable
Unix epoch when the resource was created.
id, string nullable
A string representing a UUID (universally unique identifier).
name, string nullable
The name to associate with the given key-set.
tags, string[] nullable
A set of strings representing tags.
updated_at, integer 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
- info
endpoint added
- info