Create Integration Instance Auth Credential
Changed onCreates an auth credential scoped to the given integration instance. Auth credentials are singleton resources that have a 1-to-1 relationship with an integration instance.
An attempt to create subsequent auth credentials for an instance will result in a 409 response.
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
The id of the integration instance.
Request body
Payload used to create an Multi Key credential for an integration instance.
Example request
{
"config": {
"headers": [
{
"name": "x-api-key",
"key": "9f2a3b4c8d6e7f00112233445566778899aabbccddeeff001122334455667788"
}
]
}
}Response
A response containing an integration instance auth credential.
Represents a credential scoped to an integration instance that supports the Multi Key authorization strategy.
Short-hand descriptor of an integration instance.
List of detected missing permissions required to enable the full functionality of the given integration instance.
Indicates that the credential is no longer valid and must be replaced with a new valid credential.
Timestamp denoting when the when the credential will expire in RFC-3339 format with a "T" character separating date from time within the field value. When expired, the credential must be replaced with a new valid credential to re-enable full functionality for the given integration instance.
A null value indicates no known expiration time.
An ISO-8601 timestamp representation of entity creation date.
Example response
{
"id": "4f535923-ec24-456c-b4e5-e67f65c8c208",
"integration_instance": {
"id": "772b9caf-ddbc-4f4f-8aa4-8dfbbe420351",
"name": "aws-lambda-prod",
"display_name": "AWS (prod)"
},
"missing_permissions": [
{
"scopes": [
"incident:read"
]
}
],
"expires_at": "2025-04-01T07:20:50Z",
"created_at": "2022-11-04T20:10:06.927Z"
}Changes
- breaking
added to the
invalid_parameters/itemsresponse propertyoneOflist for the response status - warning
added the new
key_invalidenum value to theinvalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/ruleresponse property for the response status - warning
added the new
uniqueenum value to theinvalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/ruleresponse property for the response status
- breaking