Patch Portal Connected Apps configuration
Changed onPartially updates the given portal's Connected Apps configuration. Only fields present in the request body are changed. Setting enabled enables or disables Connected Apps for this portal (same effect as POST /connected-apps; enabling for the first time requires default_url to also be set); omitting it patches dcr and/or default_url on the already-enabled auth server, which returns 404 if Connected Apps has not been enabled yet for this portal. The portal id is immutable and always taken from the path.
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
The portal ID
Request body
When present, enables or disables Connected Apps for this portal (same effect as POST /connected-apps). Enabling for the first time requires default_url to also be set.
Dynamic Client Registration settings to patch
The portal's default URL.
Example request
{
"default_url": "https://portal.example.com"
}Response
Connected Apps reserved auth server details (when enabled)
Explicitly lists the AuthServer fields it exposes, rather than inheriting AuthServer wholesale, so that adding a field to AuthServer is not automatically also a Connected Apps change.
The ID of the auth server
The name of the auth server
The description of the auth server
The recipients that the tokens are intended for. This becomes the 'aud' claim in an access token
Algorithm used in the key signing process
The complete URL for the custom authorization server. This becomes the 'iss' claim in an access token.
The URI of the metadata document for the auth server
The URI of the JWKS endpoint for the auth server
Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
An ISO-8601 timestamp representation of entity creation date.
An ISO-8601 timestamp representation of entity update date.
A list or trusted origins to apply the CORS header on for the auth server
The default access token duration, in seconds, applied to DCR clients registered against this auth server
Indicates this auth server is managed by Konnect
Domain of Connected Apps configuration
Portal configuration (only present when domain is 'portal')
Predefined scopes for API access
Example response
{
"labels": {
"env": "test"
},
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z",
"trusted_origins": [
"https://example.com"
],
"konnect_managed": true,
"portal": {
"id": "d32d905a-ed33-46a3-a093-d8f536af9a8a",
"default_url": "https://portal.example.com"
},
"scopes": [
{
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}
]
}Changes
- info
endpoint added
- info