Create Application
Changed onCreates a new application for this portal. The application must be assigned to a developer or a team. An application can be registered for various APIs, issuing credentials for API access. If using DCR, an application will be linked to an Identity Provider's application by its client_id.
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v3/portals/{portalId}/applications
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Path parameters
ID of the portal.
Request body
Example request
{
"name": "Portal Application",
"description": "A portal application provisioned for a developer by a Portal Admin.",
"labels": {
"env": "production"
},
"auth_strategy_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"owner": {
"id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"type": "developer"
}
}Response
Details about an application in a portal.
Example response
{
"id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z",
"labels": {
"env": "test"
},
"dcr_provider": {
"id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7"
},
"portal": {
"id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7"
},
"auth_strategy": {
"id": "b9e81174-b5bb-4638-a3c3-8afe61a0abf8",
"name": "name",
"auth_methods": [
"bearer"
],
"available_scopes": [
"scope1",
"scope2"
]
}
}Changes
- breaking
added to the
/response propertyoneOflist for the response status - warning
added the new
key_invalidenum value to the//////response property for the response status - warning
added the new
uniqueenum value to the//////response property for the response status
- breaking
- warning
added the new
400.00enum value to theresponse property for the response status - warning
added the new
403.00enum value to theresponse property for the response status - warning
added the new
404.00enum value to theresponse property for the response status
- warning