Download OpenAPI specification:Download
The management API for Portals
Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Lists developer portals defined in this region for this organization. Each developer portal is available at a unique address and has isolated configuration, customization, developers, and applications.
| page[size] | integer Example: page[size]=10 The maximum number of items to include per page. The last page of a collection may include fewer items. |
| page[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
| sort | string Sorts a collection of portals. Supported sort attributes are:
|
object (PortalFilterParameters) Filter portals returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 1
}
}, - "data": [
- {
- "id": "8f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-10-08T17:00:00.52Z",
- "name": "Portal A",
- "display_name": "Developer Portal A",
- "description": "The Portal A",
- "authentication_enabled": false,
- "rbac_enabled": true,
- "default_api_visibility": "private",
- "default_page_visibility": "private",
- "default_application_auth_strategy_id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "auto_approve_applications": false,
- "auto_approve_developers": true,
- "default_domain": "123455678abcd.edge.us.portal.konghq.com",
- "canonical_domain": "123455678abcd.edge.us.portal.konghq.com"
}
]
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Creates a new developer portal scoped in this region for this organization.
Create a portal.
| name required | string [ 1 .. 255 ] characters The name of the portal, used to distinguish it from other portals. Name must be unique. |
| display_name | string [ 1 .. 255 ] characters The display name of the portal. This value will be the portal's |
| description | string or null <= 512 characters A description of the portal. |
| authentication_enabled | boolean Default: true Whether the portal supports developer authentication. If disabled, developers cannot register for accounts or create applications. |
| rbac_enabled | boolean Default: false Whether the portal resources are protected by Role Based Access Control (RBAC). If enabled, developers view or register for APIs until unless assigned to teams with access to view and consume specific APIs. Authentication must be enabled to use RBAC. |
| default_api_visibility | string Enum: "public" "private" The default visibility of APIs in the portal. If set to |
| default_page_visibility | string Enum: "public" "private" The default visibility of pages in the portal. If set to |
| default_application_auth_strategy_id | string or null <uuid> The default authentication strategy for APIs published to the portal. Newly published APIs will use this authentication strategy unless overridden during publication. If set to |
| auto_approve_developers | boolean Default: false Whether developer account registrations will be automatically approved, or if they will be set to pending until approved by an admin. |
| auto_approve_applications | boolean Default: false Whether requests from applications to register for APIs will be automatically approved, or if they will be set to pending until approved by an admin. |
object or null (LabelsUpdate) <= 50 properties Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Labels are intended to store INTERNAL metadata. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". |
{- "name": "MyDevPortal",
- "authentication_enabled": true,
- "rbac_enabled": true,
- "auto_approve_applications": false,
- "auto_approve_developers": false
}{- "id": "9f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-10-08T17:00:00.52Z",
- "name": "Portal A",
- "display_name": "Developer Portal A",
- "description": "The Portal A",
- "default_domain": "123455678abcd.us.portal.konghq.com",
- "authentication_enabled": false,
- "rbac_enabled": true,
- "default_api_visibility": "private",
- "default_page_visibility": "private",
- "default_application_auth_strategy_id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "auto_approve_applications": false,
- "auto_approve_developers": true,
- "canonical_domain": "api.example.com"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Returns the configuration for a single developer portal, including the current visibility, access, and domain settings.
| portalId required | string <uuid> ID of the portal. |
{- "id": "9f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-10-08T17:00:00.52Z",
- "name": "Portal A",
- "display_name": "Developer Portal A",
- "description": "The Portal A",
- "default_domain": "123455678abcd.us.portal.konghq.com",
- "authentication_enabled": false,
- "rbac_enabled": true,
- "default_api_visibility": "private",
- "default_page_visibility": "private",
- "default_application_auth_strategy_id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "auto_approve_applications": false,
- "auto_approve_developers": true,
- "canonical_domain": "api.example.com"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Updates the configuration for a single portal including the visibility, access, and custom domain settings.
| portalId required | string <uuid> ID of the portal. |
Update a portal's settings.
| name | string [ 1 .. 255 ] characters The name of the portal, used to distinguish it from other portals. Name must be unique. |
| display_name | string [ 1 .. 255 ] characters The display name of the portal. This value will be the portal's |
| description | string or null <= 512 characters A description of the portal. |
| authentication_enabled | boolean Default: true Whether the portal supports developer authentication. If disabled, developers cannot register for accounts or create applications. |
| rbac_enabled | boolean Default: false Whether the portal resources are protected by Role Based Access Control (RBAC). If enabled, developers view or register for APIs until unless assigned to teams with access to view and consume specific APIs. Authentication must be enabled to use RBAC. |
| default_api_visibility | string Enum: "public" "private" The default visibility of APIs in the portal. If set to |
| default_page_visibility | string Enum: "public" "private" The default visibility of pages in the portal. If set to |
| default_application_auth_strategy_id | string or null <uuid> The default authentication strategy for APIs published to the portal. Newly published APIs will use this authentication strategy unless overridden during publication. If set to |
| auto_approve_developers | boolean Default: false Whether developer account registrations will be automatically approved, or if they will be set to pending until approved by an admin. |
| auto_approve_applications | boolean Default: false Whether requests from applications to register for APIs will be automatically approved, or if they will be set to pending until approved by an admin. |
object or null (LabelsUpdate) <= 50 properties Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Labels are intended to store INTERNAL metadata. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". |
{- "authentication_enabled": false,
- "rbac_enabled": false,
- "auto_approve_applications": false,
- "auto_approve_developers": false
}{- "id": "9f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-10-08T17:00:00.52Z",
- "name": "Portal A",
- "display_name": "Developer Portal A",
- "description": "The Portal A",
- "default_domain": "123455678abcd.us.portal.konghq.com",
- "authentication_enabled": false,
- "rbac_enabled": true,
- "default_api_visibility": "private",
- "default_page_visibility": "private",
- "default_application_auth_strategy_id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "auto_approve_applications": false,
- "auto_approve_developers": true,
- "canonical_domain": "api.example.com"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Deletes a single portal, along with all related entities.
| portalId required | string <uuid> ID of the portal. |
| force | string Default: "false" Enum: "true" "false" If true, the portal will be deleted, automatically deleting all API publications. If the force param is not set, the deletion will only succeed if there are no APIs currently published. |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Get the custom domain associated to the portal.
| portalId required | string <uuid> ID of the portal. |
{- "hostname": "string",
- "enabled": true,
- "ssl": {
- "domain_verification_method": "http",
- "verification_status": "verified",
- "validation_errors": [
- "string"
], - "uploaded_at": "2022-11-04T20:10:06.927Z",
- "expires_at": "2022-11-04T20:10:06.927Z"
}, - "cname_status": "verified",
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Creates the custom domain associated with the portal. Only one custom domain can be associated with a portal at a time.
| portalId required | string <uuid> ID of the portal. |
Create a portal custom domain.
| hostname required | string |
| enabled required | boolean |
required | object (CreatePortalCustomDomainSSL) |
{- "hostname": "string",
- "enabled": true,
- "ssl": {
- "domain_verification_method": "http",
- "custom_certificate": "string",
- "custom_private_key": "string"
}
}{- "hostname": "string",
- "enabled": true,
- "ssl": {
- "domain_verification_method": "http",
- "verification_status": "verified",
- "validation_errors": [
- "string"
], - "uploaded_at": "2022-11-04T20:10:06.927Z",
- "expires_at": "2022-11-04T20:10:06.927Z"
}, - "cname_status": "verified",
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Updates the portal domain associated with the portal.
| portalId required | string <uuid> ID of the portal. |
Create a portal custom domain.
| enabled | boolean |
| custom_certificate | string Custom certificate to be used for the SSL termination. |
| custom_private_key | string Custom certificate private key to be used for the SSL termination. |
{- "enabled": true,
- "custom_certificate": "string",
- "custom_private_key": "string"
}{- "hostname": "string",
- "enabled": true,
- "ssl": {
- "domain_verification_method": "http",
- "verification_status": "verified",
- "validation_errors": [
- "string"
], - "uploaded_at": "2022-11-04T20:10:06.927Z",
- "expires_at": "2022-11-04T20:10:06.927Z"
}, - "cname_status": "verified",
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Deletes the custom domain associated with the portal.
| portalId required | string <uuid> ID of the portal. |
{- "status": 404,
- "title": "Not Found",
- "instance": "kong:trace:6816496025408232265",
- "detail": "Not Found"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Returns the portal customization options.
| portalId required | string <uuid> ID of the portal. |
{- "theme": {
- "name": "string",
- "mode": "light",
- "colors": {
- "primary": "#000000"
}
}, - "layout": "string",
- "css": "string",
- "js": {
- "custom": "string",
- "scripts": [
- "string"
]
}, - "menu": {
- "main": [
- {
- "path": "/about/company",
- "title": "My Page",
- "visibility": "public",
- "external": true
}
], - "footer_sections": [
- {
- "title": "string",
- "items": [
- {
- "path": "/about/company",
- "title": "My Page",
- "visibility": "public",
- "external": true
}
]
}
], - "footer_bottom": [
- {
- "path": "/about/company",
- "title": "My Page",
- "visibility": "public",
- "external": true
}
]
}, - "spec_renderer": {
- "try_it_ui": true,
- "try_it_insomnia": true,
- "infinite_scroll": true,
- "show_schemas": true
}, - "robots": "string"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Replace the portal customization options.
| portalId required | string <uuid> ID of the portal. |
object | |
| layout | string |
| css | string or null |
object | |
object | |
object | |
| robots | string or null |
{- "theme": {
- "name": "string",
- "mode": "light",
- "colors": {
- "primary": "#000000"
}
}, - "layout": "string",
- "css": "string",
- "js": {
- "custom": "string",
- "scripts": [
- "string"
]
}, - "menu": {
- "main": [
- {
- "path": "/about/company",
- "title": "My Page",
- "visibility": "public",
- "external": true
}
], - "footer_sections": [
- {
- "title": "string",
- "items": [
- {
- "path": "/about/company",
- "title": "My Page",
- "visibility": "public",
- "external": true
}
]
}
], - "footer_bottom": [
- {
- "path": "/about/company",
- "title": "My Page",
- "visibility": "public",
- "external": true
}
]
}, - "spec_renderer": {
- "try_it_ui": true,
- "try_it_insomnia": true,
- "infinite_scroll": true,
- "show_schemas": true
}, - "robots": "string"
}{- "theme": {
- "name": "string",
- "mode": "light",
- "colors": {
- "primary": "#000000"
}
}, - "layout": "string",
- "css": "string",
- "js": {
- "custom": "string",
- "scripts": [
- "string"
]
}, - "menu": {
- "main": [
- {
- "path": "/about/company",
- "title": "My Page",
- "visibility": "public",
- "external": true
}
], - "footer_sections": [
- {
- "title": "string",
- "items": [
- {
- "path": "/about/company",
- "title": "My Page",
- "visibility": "public",
- "external": true
}
]
}
], - "footer_bottom": [
- {
- "path": "/about/company",
- "title": "My Page",
- "visibility": "public",
- "external": true
}
]
}, - "spec_renderer": {
- "try_it_ui": true,
- "try_it_insomnia": true,
- "infinite_scroll": true,
- "show_schemas": true
}, - "robots": "string"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Update the portal customization options, merging properties.
| portalId required | string <uuid> ID of the portal. |
object | |
| layout | string |
| css | string or null |
object | |
object | |
object | |
| robots | string or null |
{- "theme": {
- "name": "string",
- "mode": "light",
- "colors": {
- "primary": "#000000"
}
}, - "layout": "string",
- "css": "string",
- "js": {
- "custom": "string",
- "scripts": [
- "string"
]
}, - "menu": {
- "main": [
- {
- "path": "/about/company",
- "title": "My Page",
- "visibility": "public",
- "external": true
}
], - "footer_sections": [
- {
- "title": "string",
- "items": [
- {
- "path": "/about/company",
- "title": "My Page",
- "visibility": "public",
- "external": true
}
]
}
], - "footer_bottom": [
- {
- "path": "/about/company",
- "title": "My Page",
- "visibility": "public",
- "external": true
}
]
}, - "spec_renderer": {
- "try_it_ui": true,
- "try_it_insomnia": true,
- "infinite_scroll": true,
- "show_schemas": true
}, - "robots": "string"
}{- "theme": {
- "name": "string",
- "mode": "light",
- "colors": {
- "primary": "#000000"
}
}, - "layout": "string",
- "css": "string",
- "js": {
- "custom": "string",
- "scripts": [
- "string"
]
}, - "menu": {
- "main": [
- {
- "path": "/about/company",
- "title": "My Page",
- "visibility": "public",
- "external": true
}
], - "footer_sections": [
- {
- "title": "string",
- "items": [
- {
- "path": "/about/company",
- "title": "My Page",
- "visibility": "public",
- "external": true
}
]
}
], - "footer_bottom": [
- {
- "path": "/about/company",
- "title": "My Page",
- "visibility": "public",
- "external": true
}
]
}, - "spec_renderer": {
- "try_it_ui": true,
- "try_it_insomnia": true,
- "infinite_scroll": true,
- "show_schemas": true
}, - "robots": "string"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Returns the developer authentication configuration for a portal, which determines how developers can log in and how they are assigned to teams.
| portalId required | string <uuid> ID of the portal. |
{- "basic_auth_enabled": true,
- "oidc_auth_enabled": true,
- "saml_auth_enabled": true,
- "oidc_team_mapping_enabled": true,
- "konnect_mapping_enabled": true,
- "idp_mapping_enabled": true,
- "oidc_config": {
- "client_id": "x7id0o42lklas0blidl2",
- "scopes": [
- "email",
- "openid",
- "profile"
], - "claim_mappings": {
- "name": "name",
- "email": "email",
- "groups": "custom-group-claim"
}
}
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Updates the developer authentication configuration for a portal. Developers can be allowed to login using basic auth (email & password) or use Single-Sign-On (SSO) through an OIDC Identity Provider (IdP). Developers can be automatically assigned to teams by mapping claims from thier IdP account.
| portalId required | string <uuid> ID of the portal. |
Update a portal's developer authentication settings.
| basic_auth_enabled | boolean The organization has basic auth enabled. |
| oidc_auth_enabled | boolean The organization has OIDC disabled. |
| saml_auth_enabled | boolean The portal has SAML enabled or disabled. |
| oidc_team_mapping_enabled | boolean Whether IdP groups determine the Konnect Portal teams a developer has. |
| konnect_mapping_enabled | boolean Whether a Konnect Identity Admin assigns teams to a developer. |
| idp_mapping_enabled | boolean Whether IdP groups determine the Konnect Portal teams a developer has. This will soon replace oidc_team_mapping_enabled. |
| oidc_issuer | string |
| oidc_client_id | string |
| oidc_client_secret | string |
| oidc_scopes | Array of strings Default: ["email","openid","profile"] |
object (PortalClaimMappings) [ 0 .. 3 ] properties Mappings from a portal developer atribute to an Identity Provider claim. |
{- "basic_auth_enabled": true,
- "oidc_auth_enabled": true,
- "saml_auth_enabled": true,
- "oidc_team_mapping_enabled": true,
- "konnect_mapping_enabled": false,
- "idp_mapping_enabled": true,
- "oidc_client_id": "x7id0o42lklas0blidl2",
- "oidc_scopes": [
- "email",
- "openid",
- "profile"
], - "oidc_claim_mappings": {
- "name": "name",
- "email": "email",
- "groups": "custom-group-claim"
}
}{- "basic_auth_enabled": true,
- "oidc_auth_enabled": true,
- "saml_auth_enabled": true,
- "oidc_team_mapping_enabled": true,
- "konnect_mapping_enabled": true,
- "idp_mapping_enabled": true,
- "oidc_config": {
- "client_id": "x7id0o42lklas0blidl2",
- "scopes": [
- "email",
- "openid",
- "profile"
], - "claim_mappings": {
- "name": "name",
- "email": "email",
- "groups": "custom-group-claim"
}
}
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Lists mappings between Konnect portal teams and Identity Provider (IdP) groups. Returns a 400 error if an IdP has not yet been configured.
| portalId required | string <uuid> ID of the portal. |
| page[size] | integer Example: page[size]=10 The maximum number of items to include per page. The last page of a collection may include fewer items. |
| page[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 2
}
}, - "data": [
- {
- "team_id": "6801e673-cc10-498a-94cd-4271de07a0d3",
- "groups": [
- "Tech Leads",
- "API Engineers"
]
}, - {
- "team_id": "7301e673-cc10-498a-94cd-4271de07a0d3",
- "groups": [
- "Managers",
- "Directors"
]
}
]
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Allows partial updates to the mappings between Konnect portal teams and Identity Provider (IdP) groups. The request body must be keyed on team ID. For a given team ID, the given group list is a complete replacement. To remove all mappings for a given team, provide an empty group list. Returns a 400 error if an IdP has not yet been configured, or if a team ID in the request body is not found or is not a UUID.
| portalId required | string <uuid> ID of the portal. |
Array of objects The IdP groups to map to the given team. |
{- "data": [
- {
- "team_id": "af91db4c-6e51-403e-a2bf-33d27ae50c0a",
- "groups": [
- "Service Developer"
]
}, - {
- "team_id": "bc11db4c-6e51-403e-a2bf-33d27ae50c0a",
- "groups": [
- "Service Owner"
]
}
]
}{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 2
}
}, - "data": [
- {
- "team_id": "6801e673-cc10-498a-94cd-4271de07a0d3",
- "groups": [
- "Tech Leads",
- "API Engineers"
]
}, - {
- "team_id": "7301e673-cc10-498a-94cd-4271de07a0d3",
- "groups": [
- "Managers",
- "Directors"
]
}
]
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Retrieves the identity providers available within the portal. This operation provides information about various identity providers for SAML or OIDC authentication integrations.
| portalId required | string <uuid> ID of the portal. |
object Filter identity providers returned in the response. |
[- {
- "id": "a2c3156d-ebb1-432b-b2f1-edcc5f133c60",
- "type": "saml",
- "enabled": true,
- "config": {
- "sp_metadata_url": "/api/v2/developer/authenticate/saml/metadata",
- "callback_url": "/api/v2/developer/authenticate/saml/acs"
}, - "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-02-07T17:46:57.52Z"
}, - {
- "id": "66da2d42-469d-48cd-9ff3-0db135dd82d8",
- "type": "oidc",
- "enabled": false,
- "config": {
- "client_id": "0oaqhb43ckTZ02j1F357",
- "scopes": [
- "openid",
- "email",
- "profile"
], - "claim_mappings": {
- "email": "email",
- "name": "name",
- "groups": "groups"
}
}, - "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-02-07T17:46:57.52Z"
}
]Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Creates a new identity provider. This operation allows the creation of a new identity provider for authentication purposes.
| portalId required | string <uuid> ID of the portal. |
An object representing the configuration for creating a new identity provider. This configuration may pertain to either an OIDC or a SAML identity provider.
| type | string (IdentityProviderType) Enum: "oidc" "saml" Specifies the type of identity provider. |
OIDC Identity Provider Config (object) or SAML Identity Provider Config (object) |
{- "type": "oidc",
- "config": {
- "client_id": "0oaqhb43ckTZ02j1F357",
- "client_secret": "BbqwI8xP9E4evOK",
- "scopes": [
- "openid",
- "email",
- "profile"
], - "claim_mappings": {
- "email": "email",
- "name": "name",
- "groups": "groups"
}
}
}{- "id": "66da2d42-469d-48cd-9ff3-0db135dd82d8",
- "type": "oidc",
- "enabled": false,
- "config": {
- "client_id": "0oaqhb43ckTZ02j1F357",
- "scopes": [
- "openid",
- "email",
- "profile"
], - "claim_mappings": {
- "email": "email",
- "name": "name",
- "groups": "groups"
}
}, - "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-02-07T17:46:57.52Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Retrieves the configuration of a single identity provider. This operation returns information about a specific identity provider's settings and authentication integration details.
| portalId required | string <uuid> ID of the portal. |
| id required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the identity provider. |
{- "id": "66da2d42-469d-48cd-9ff3-0db135dd82d8",
- "type": "oidc",
- "enabled": false,
- "config": {
- "client_id": "0oaqhb43ckTZ02j1F357",
- "scopes": [
- "openid",
- "email",
- "profile"
], - "claim_mappings": {
- "email": "email",
- "name": "name",
- "groups": "groups"
}
}, - "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-02-07T17:46:57.52Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Updates the configuration of an existing identity provider. This operation allows modifications to be made to an existing identity provider's configuration.
| portalId required | string <uuid> ID of the portal. |
| id required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the identity provider. |
An object representing the configuration for updating an identity provider. This configuration may pertain to either an OIDC or a SAML identity provider.
| enabled | boolean (Identity Provider Enabled Property) Default: false Indicates whether the identity provider is enabled. Only one identity provider can be active at a time, such as SAML or OIDC. |
OIDC Identity Provider Config (object) or SAML Identity Provider Config (object) |
{- "enabled": true,
- "config": {
- "client_id": "0oaqhb43ckTZ02j1F357",
- "client_secret": "BbqwI8xP9E4evOK",
- "scopes": [
- "openid",
- "email",
- "profile"
], - "claim_mappings": {
- "email": "email",
- "name": "name",
- "groups": "groups"
}
}
}{- "id": "66da2d42-469d-48cd-9ff3-0db135dd82d8",
- "type": "oidc",
- "enabled": false,
- "config": {
- "client_id": "0oaqhb43ckTZ02j1F357",
- "scopes": [
- "openid",
- "email",
- "profile"
], - "claim_mappings": {
- "email": "email",
- "name": "name",
- "groups": "groups"
}
}, - "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-02-07T17:46:57.52Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Deletes an existing identity provider configuration. This operation removes a specific identity provider from the portal.
| portalId required | string <uuid> ID of the portal. |
| id required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the identity provider. |
{- "status": 0,
- "title": "string",
- "type": "string",
- "instance": "string",
- "detail": "string",
- "invalid_parameters": [
- {
- "field": "name",
- "rule": "required",
- "source": "body",
- "reason": "is a required field"
}
]
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Lists the developers that have registered for this portal. Each developer can be registered to one portal and must be approved to login unless using the developer auto-approve setting.
| portalId required | string <uuid> ID of the portal. |
| page[size] | integer Example: page[size]=10 The maximum number of items to include per page. The last page of a collection may include fewer items. |
| page[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
| sort | string Sorts a collection of developers. Supported sort attributes are:
|
object Filter developers returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 4
}
}, - "data": [
- {
- "id": "8cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "email": "jane.developer@example.com",
- "full_name": "Jane Dev",
- "status": "approved",
- "application_count": 8,
- "created_at": "2022-11-15T20:37:41.457Z",
- "updated_at": "2022-11-15T20:37:47.456Z"
}, - {
- "id": "4cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "email": "john.developer@example.com",
- "full_name": "John Dev",
- "status": "revoked",
- "application_count": 27,
- "created_at": "2022-11-15T20:37:41.457Z",
- "updated_at": "2022-11-15T20:37:47.456Z"
}, - {
- "id": "6cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "email": "john.developer@example.com",
- "full_name": "Jim Dev",
- "status": "pending",
- "application_count": 0,
- "created_at": "2022-11-15T20:37:41.457Z",
- "updated_at": "2022-11-15T20:37:47.456Z"
}, - {
- "id": "7cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "email": "john.developer@example.com",
- "full_name": "Jan Dev",
- "status": "rejected",
- "application_count": 1,
- "created_at": "2022-11-15T20:37:41.457Z",
- "updated_at": "2022-11-15T20:37:47.456Z"
}
]
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Returns information about a single developer in this portal. Each developer manages a set applications, providing them credentials to access registered APIs. Developer registration access can be limited to specific APIs using RBAC.
| portalId required | string <uuid> ID of the portal. |
| developerId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the developer. |
{- "id": "7cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "email": "developer@example.com",
- "full_name": "Jane Dev",
- "status": "approved",
- "application_count": 3,
- "created_at": "2022-11-15T20:37:41.457Z",
- "updated_at": "2022-11-15T20:37:47.456Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Updates the status of a particular developer. Approved developers have access to login to the portal. Revoked, rejected, or pending are not allowed to login. Even if a developer's status is no longer approved, they will still be able to using any existing credentials generated while they were approved, until each application registration is revoked or deleted.
| portalId required | string <uuid> ID of the portal. |
| developerId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the developer. |
Update a developer.
| status | string (DeveloperStatus) Enum: "approved" "pending" "revoked" "rejected" The status of a developer in a portal. Approved developers can log in, create applications, and view and register for products they have access to. Pending, revoked, and rejected developers cannot login or view any non-public portal information, or create or modify applications or registrations. |
{- "status": "approved"
}{- "id": "7cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "email": "developer@example.com",
- "full_name": "Jane Dev",
- "status": "approved",
- "application_count": 3,
- "created_at": "2022-11-15T20:37:41.457Z",
- "updated_at": "2022-11-15T20:37:47.456Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Deletes a developer, which will discontinue their ability to login, view any non-public resources, and delete all applications owned by them. All credentials issued to the developer will no longer provide access to any APIs. A deleted developer's unique email must be re-registered and approved to gain access again.
| portalId required | string <uuid> ID of the portal. |
| developerId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the developer. |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Lists the developer teams in a portal. Each team can contain any developer and developers can be part of multiple teams.
| portalId required | string <uuid> ID of the portal. |
| page[size] | integer Example: page[size]=10 The maximum number of items to include per page. The last page of a collection may include fewer items. |
| page[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
object Filter teams returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 3
}
}, - "data": [
- {
- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "Partner",
- "description": "Team with access to Partner APIs",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-09-25T13:00:00.00Z"
}, - {
- "id": "af9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "Internal",
- "description": "Team with access to Internal APIs",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-09-25T13:00:00.00Z"
}, - {
- "id": "4f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "Root",
- "description": "Team with access to Internal Systems",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-09-25T13:00:00.00Z"
}
]
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Creates a developer team in a portal. Developers can be added to teams to provide RBAC access to API products. Teams can be assigned roles that grant permissions to perform an action on a resource.
| portalId required | string <uuid> ID of the portal. |
Create a team in a portal.
| name required | string^[\w \W]+$ |
| description | string <= 250 characters |
{- "name": "IDM - Developers",
- "description": "The Identity Management (IDM) API team."
}{- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "Gold Tier",
- "description": "Team with access to APIs in the Gold tier",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-09-25T13:00:00.00Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Get an individual team.
| teamId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the team. |
| portalId required | string <uuid> ID of the portal. |
{- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "Gold Tier",
- "description": "Team with access to APIs in the Gold tier",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-09-25T13:00:00.00Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Updates an individual developer team for a portal.
| teamId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the team. |
| portalId required | string <uuid> ID of the portal. |
Update a team in a portal.
| name | string^[\w \W]+$ |
| description | string <= 250 characters |
{- "name": "IDM - Developers",
- "description": "The Identity Management (IDM) API team."
}{- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "Gold Tier",
- "description": "Team with access to APIs in the Gold tier",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-09-25T13:00:00.00Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Deletes a developer team from a portal. Deleting a team also deletes its assigned roles. Members of the team are not deleted, but they will lose any access provided through the team.
| teamId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the team. |
| portalId required | string <uuid> ID of the portal. |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
List a team's developers.
| portalId required | string <uuid> ID of the portal. |
| teamId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the team. |
| page[size] | integer Example: page[size]=10 The maximum number of items to include per page. The last page of a collection may include fewer items. |
| page[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
object Filter developers returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 2
}
}, - "data": [
- {
- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "email": "james.woods@email.com",
- "full_name": "James Woods",
- "active": true,
- "created_at": "2022-08-17T17:46:57.52Z",
- "updated_at": "2022-10-03T17:00:00.00Z"
}, - {
- "id": "4f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "email": "jill.stone@email.com",
- "full_name": "Jill Stone",
- "active": false,
- "created_at": "2022-07-17T17:46:57.52Z",
- "updated_at": "2022-10-03T17:00:00.00Z"
}
]
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Adds a developer to a team. This associates them with all of the roles that have been assigned to the team, providing specific permissions to perform actions on resources.
| portalId required | string <uuid> ID of the portal. |
| teamId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the team. |
Add a developer to a team.
| id required | string <uuid> |
{- "id": "df120cb4-f60b-47bc-a2f8-6a28e6a3c63b"
}{- "status": 400,
- "title": "Invalid Request",
- "instance": "kong:trace:1433447772874964729",
- "detail": "Invalid Parameters",
- "invalid_parameters": [
- {
- "field": "my_attribute",
- "rule": "required",
- "reason": "\"my_attribute\" is required",
- "source": "body"
}
]
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Removes a developer from a team. This removes the association of the team's roles from the developer.
| portalId required | string <uuid> ID of the portal. |
| developerId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the developer. |
| teamId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the team. |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Lists the teams to which a developer belongs. Each team a developer is a member of grants them various roles that provide permissions to perform actions on certain resources.
| developerId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the developer. |
| portalId required | string <uuid> ID of the portal. |
| page[size] | integer Example: page[size]=10 The maximum number of items to include per page. The last page of a collection may include fewer items. |
| page[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 3
}
}, - "data": [
- {
- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "Partner",
- "description": "Team with access to Partner APIs",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-09-25T13:00:00.00Z"
}, - {
- "id": "af9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "Internal",
- "description": "Team with access to Internal APIs",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-09-25T13:00:00.00Z"
}, - {
- "id": "4f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "Root",
- "description": "Team with access to Internal Systems",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-09-25T13:00:00.00Z"
}
]
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Lists the roles belonging to a developer team. Each role provides permissions to perform actions on a specified resource or collection.
| portalId required | string <uuid> ID of the portal. |
| teamId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the team. |
| page[size] | integer Example: page[size]=10 The maximum number of items to include per page. The last page of a collection may include fewer items. |
| page[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 3
}
}, - "data": [
- {
- "id": "b02e23c5-8ee4-4e5a-99f4-43329923adce",
- "role_name": "API Viewer",
- "entity_id": "437c7192-fea0-4f35-8478-c8d57783f8c1",
- "entity_type_name": "Services",
- "entity_region": "us"
}, - {
- "id": "b02e23c5-8ee4-4e5a-99f4-43329923adce",
- "role_name": "API Consumer",
- "entity_id": "437c7192-fea0-4f35-8478-c8d57783f8c1",
- "entity_type": "Services",
- "entity_region": "us"
}, - {
- "id": "869d9402-f117-4f9a-840f-69acaf70a81a",
- "role_name": "API Viewer",
- "entity_id": "18ee2573-dec0-4b83-be99-fa7700bcdc61",
- "entity_type_name": "Services",
- "entity_region": "us"
}
]
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Assign a role to a developer team. This associates the set of permissions in a role with the team, so that they will be applied to any developer who is a member of the team.
| portalId required | string <uuid> ID of the portal. |
| teamId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the team. |
| page[size] | integer Example: page[size]=10 The maximum number of items to include per page. The last page of a collection may include fewer items. |
| page[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
Assign a role to a team.
| role_name | string |
| entity_id | string <uuid> |
| entity_type_name | string |
| entity_region | string Enum: "us" "eu" "au" "me" "in" "*" Region of the entity. |
{- "role_name": "API Viewer",
- "entity_id": "18ee2573-dec0-4b83-be99-fa7700bcdc61",
- "entity_type_name": "Services",
- "entity_region": "us"
}{- "id": "1a3c2169-27f8-4594-926b-41df3432d5dc",
- "role_name": "API Viewer",
- "entity_id": "18ee2573-dec0-4b83-be99-fa7700bcdc61",
- "entity_type_name": "Services",
- "entity_region": "us"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Removes an assigned role from a developer team. This deletes the association of the role with team and each of its members.
| roleId required | string <uuid> Example: 8350205f-a305-4e39-abe9-bc082a80091a |
| portalId required | string <uuid> ID of the portal. |
| teamId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the team. |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
List roles that can be assigned to teams in a portal. Each role provides a set of permissions to perform an action on a resource.
{- "services": {
- "name": "Services",
- "roles": {
- "apiviewer": {
- "name": "API Viewer",
- "description": "API Viewers have read-only access to the documentation of a service in a portal"
}, - "apiconsumer": {
- "name": "API Consumer",
- "description": "API Consumers can make calls to the given service"
}
}
}
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Returns the logo of the portal.
| portalId required | string <uuid> ID of the portal. |
data:image/png;base64,bmljZV9sb29raW5nX3BpY3R1cmU=
Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Replaces the logo of the portal.
| portalId required | string <uuid> ID of the portal. |
Update an image asset for the portal.
| data required | string <uri> (PortalImageDataUri) ^data:image/(png|jpeg|svg\+xml|x-icon|ico|ico... must be a data URL with base64 image data, e.g., data:image/jpeg;base64, |
| filename | string <= 512 characters |
{- "data": "data:image/png;base64,bmljZV9sb29raW5nX3BpY3R1cmU=",
- "filename": "logo.png"
}data:image/png;base64,bmljZV9sb29raW5nX3BpY3R1cmU=
Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Returns the favicon of the portal.
| portalId required | string <uuid> ID of the portal. |
data:image/png;base64,bmljZV9sb29raW5nX3BpY3R1cmU=
Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Replaces the favicon of the portal. The favicon is used in the browser tab of the portal.
| portalId required | string <uuid> ID of the portal. |
Update an image asset for the portal.
| data required | string <uri> (PortalImageDataUri) ^data:image/(png|jpeg|svg\+xml|x-icon|ico|ico... must be a data URL with base64 image data, e.g., data:image/jpeg;base64, |
| filename | string <= 512 characters |
{- "data": "data:image/png;base64,bmljZV9sb29raW5nX3BpY3R1cmU=",
- "filename": "logo.png"
}data:image/png;base64,bmljZV9sb29raW5nX3BpY3R1cmU=
Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Returns the paginated list of custom pages that have been created for this portal.
| portalId required | string <uuid> ID of the portal. |
| sort | string Sorts a collection of portal pages. Supported sort attributes are:
|
| page[size] | integer Example: page[size]=10 The maximum number of items to include per page. The last page of a collection may include fewer items. |
| page[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
object (PortalPagesFilterParameters) Filter pages returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 1
}
}, - "data": [
- {
- "id": "8f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "slug": "/",
- "title": "Home",
- "visibility": "public",
- "status": "published",
- "description": "A custom page",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-10-08T17:00:00.52Z",
- "parent_page_id": null,
- "children": [ ]
}
]
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Creates a new custom page for this portal. Custom pages can be used to display static content, documentation, or other information to developers.
| portalId required | string <uuid> ID of the portal. |
Create a page in a portal.
| slug required | string (PageSlug) <= 512 characters The slug of a page in a portal. Is used to compute the full path /slug1/slug2/slug3. |
| title required | string (PageTitle) <= 512 characters The title of a page in a portal. |
| content required | string (PageContent) <= 1000000 characters The renderable markdown content of a page in a portal. |
| visibility | string (PageVisibilityStatusWithDefault) Default: "private" Whether a page is publicly accessible to non-authenticated users. |
| status | string (PublishedStatus) Enum: "published" "unpublished" Whether the resource is visible on a given portal. Defaults to false. |
| description | string (ResourceDescription) <= 160 characters |
| parent_page_id | string or null <uuid> (ParentPageId) Pages may be rendered as a tree of files. Specify the |
{- "title": "Getting Started",
- "slug": "/getting-started",
- "content": "Welcome to the Getting Started page. This is where you can learn how to use our APIs.",
- "visibility": "public",
- "status": "published"
}{- "id": "8f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "slug": "/",
- "title": "Home",
- "content": "Welcome to the home page of the portal. This is where you can find information about the portal and its APIs.",
- "visibility": "public",
- "status": "published",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-10-08T17:00:00.52Z",
- "parent_page_id": null
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Returns the configuration of a single custom page for this portal. Custom pages can be used to display static content, documentation, or other information to developers.
| portalId required | string <uuid> ID of the portal. |
| pageId required | string <uuid> Example: ebbac5b0-ac89-45c3-9d2e-c4542c657e79 ID of the page. |
{- "id": "8f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "slug": "/",
- "title": "Home",
- "content": "Welcome to the home page of the portal. This is where you can find information about the portal and its APIs.",
- "visibility": "public",
- "status": "published",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-10-08T17:00:00.52Z",
- "parent_page_id": null
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Updates the configuration of a single custom page for this portal.
| portalId required | string <uuid> ID of the portal. |
| pageId required | string <uuid> Example: ebbac5b0-ac89-45c3-9d2e-c4542c657e79 ID of the page. |
Update a page in a portal.
| slug | string (PageSlug) <= 512 characters The slug of a page in a portal. Is used to compute the full path /slug1/slug2/slug3. |
| title | string (PageTitle) <= 512 characters The title of a page in a portal. |
| content | string (PageContent) <= 1000000 characters The renderable markdown content of a page in a portal. |
| visibility | string (VisibilityStatus) Enum: "public" "private" Whether the resource is publicly accessible to non-authenticated users. Defaults to private. |
| status | string (PublishedStatus) Enum: "published" "unpublished" Whether the resource is visible on a given portal. Defaults to false. |
| description | string (ResourceDescription) <= 160 characters |
| parent_page_id | string or null <uuid> (ParentPageId) Pages may be rendered as a tree of files. Specify the |
{- "title": "About Us",
- "slug": "/about-us",
- "content": "Welcome to the About Us page. This is where you can learn about our company."
}{- "id": "8f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "slug": "/",
- "title": "Home",
- "content": "Welcome to the home page of the portal. This is where you can find information about the portal and its APIs.",
- "visibility": "public",
- "status": "published",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-10-08T17:00:00.52Z",
- "parent_page_id": null
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Deletes a single custom page for this portal.
| portalId required | string <uuid> ID of the portal. |
| pageId required | string <uuid> Example: ebbac5b0-ac89-45c3-9d2e-c4542c657e79 ID of the page. |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
This api allows the user to move a page within the page tree using the parameters parent_page_id and index. If parent_page_id is not provided, the page will be placed at the top level of the page tree. index represents a zero-indexed page order relative to its siblings under the same parent. For example, if we want to put the page at top level in first position we would send parent_page_id: null and index: 0. This api also supports using a negative index to count backwards from the end of the page list, which means you can put the page in last position by using index: -1.
| portalId required | string <uuid> ID of the portal. |
| pageId required | string <uuid> Example: ebbac5b0-ac89-45c3-9d2e-c4542c657e79 ID of the page. |
move page
| parent_page_id | string <uuid> parent page id |
| index | integer index of the document in the parent document's children |
{- "parent_page_id": "dd4e1b98-3629-4dd3-acc0-759a726ffee2",
- "index": 1
}{- "status": 0,
- "title": "string",
- "type": "string",
- "instance": "string",
- "detail": "string",
- "invalid_parameters": [
- {
- "field": "name",
- "rule": "required",
- "source": "body",
- "reason": "is a required field"
}
]
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Creates the default pages for a portal if they do not already exists.
| portalId required | string <uuid> ID of the portal. |
{- "pages": [
- "/about",
- "/home",
- "/privacy"
]
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Returns the paginated list of custom snippets that have been created for this portal.
| portalId required | string <uuid> ID of the portal. |
| sort | string Sorts a collection of portal snippets. Supported sort attributes are:
|
| page[size] | integer Example: page[size]=10 The maximum number of items to include per page. The last page of a collection may include fewer items. |
| page[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
object (PortalSnippetsFilterParameters) Filter snippets returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 1
}
}, - "data": [
- {
- "id": "8f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "snip1",
- "title": "Home",
- "visibility": "public",
- "status": "published",
- "description": "A custom snippet",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-10-08T17:00:00.52Z"
}
]
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Creates a new custom snippet for this portal. Custom snippets can be used to display static content, documentation, or other information to developers.
| portalId required | string <uuid> ID of the portal. |
Create a snippet in a portal.
| name required | string (SnippetName) <= 512 characters The unique name of a snippet in a portal. |
| title required | string (SnippetTitle) <= 512 characters The display title of a snippet in a portal. |
| content required | string (SnippetContent) <= 1000000 characters The renderable markdown content of a page in a portal. |
| visibility | string (PageVisibilityStatusWithDefault) Default: "private" Whether a page is publicly accessible to non-authenticated users. |
| status | string (PublishedStatus) Enum: "published" "unpublished" Whether the resource is visible on a given portal. Defaults to false. |
| description | string (ResourceDescription) <= 160 characters |
{- "title": "Getting Started",
- "name": "getting-started",
- "content": "Welcome to the Getting Started page. This is where you can learn how to use our APIs.",
- "visibility": "public",
- "status": "published"
}{- "id": "8f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "snip1",
- "title": "Home",
- "content": "Welcome to the first snippet of the portal.",
- "visibility": "public",
- "status": "published",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-10-08T17:00:00.52Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Returns the configuration of a single custom snippet for this portal. Custom snippets can be used to display static content, documentation, or other information to developers.
| portalId required | string <uuid> ID of the portal. |
| snippetId required | string <uuid> Example: ebbac5b0-ac89-45c3-9d2e-c4542c657e79 ID of the snippet. |
{- "id": "8f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "snip1",
- "title": "Home",
- "content": "Welcome to the first snippet of the portal.",
- "visibility": "public",
- "status": "published",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-10-08T17:00:00.52Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Updates the configuration of a single custom snippet for this portal.
| portalId required | string <uuid> ID of the portal. |
| snippetId required | string <uuid> Example: ebbac5b0-ac89-45c3-9d2e-c4542c657e79 ID of the snippet. |
Update a snippet in a portal.
| name | string (SnippetName) <= 512 characters The unique name of a snippet in a portal. |
| title | string (SnippetTitle) <= 512 characters The display title of a snippet in a portal. |
| content | string (SnippetContent) <= 1000000 characters The renderable markdown content of a page in a portal. |
| visibility | string (VisibilityStatus) Enum: "public" "private" Whether the resource is publicly accessible to non-authenticated users. Defaults to private. |
| status | string (PublishedStatus) Enum: "published" "unpublished" Whether the resource is visible on a given portal. Defaults to false. |
| description | string (ResourceDescription) <= 160 characters |
{- "title": "About Us",
- "name": "about-us",
- "content": "Welcome to the About Us page. This is where you can learn about our company."
}{- "id": "8f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "snip1",
- "title": "Home",
- "content": "Welcome to the first snippet of the portal.",
- "visibility": "public",
- "status": "published",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-10-08T17:00:00.52Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Deletes a single custom snippet for this portal.
| portalId required | string <uuid> ID of the portal. |
| snippetId required | string <uuid> Example: ebbac5b0-ac89-45c3-9d2e-c4542c657e79 ID of the snippet. |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Lists applications in this portal. Each 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.
| portalId required | string <uuid> ID of the portal. |
| page[size] | integer Example: page[size]=10 The maximum number of items to include per page. The last page of a collection may include fewer items. |
| page[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
| sort | string Sorts a collection of applications. Supported sort attributes are:
|
object Filter applications returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 2
}
}, - "data": [
- {
- "id": "b15e2460-ba40-431d-9df0-4957fcffacda",
- "labels": {
- "env": "test"
}, - "name": "App 1",
- "description": "An easy to manage app in a Konnect developer portal",
- "registration_count": 2,
- "portal": {
- "id": "95606071-49c7-4c2e-ae49-8a86d72a8110"
}, - "auth_strategy": {
- "id": "85606071-49c7-4c2e-ae49-8a86d72a8110",
- "name": "API Key",
- "credential_type": "key_auth",
- "key_names": [
- "apikey"
]
}, - "developers": [
- {
- "id": "75606071-49c7-4c2e-ae49-8a86d72a8110"
}
], - "created_at": "2022-12-22T19:09:30.712Z",
- "updated_at": "2022-12-22T19:09:30.712Z"
}, - {
- "id": "b15e2460-ba40-431d-9df0-4957fcffacda",
- "labels": {
- "env": "test"
}, - "name": "App 1",
- "description": "A Konnect application that is linked to an Identity Provider application using Dynamic Client Registration (DCR)",
- "client_id": "yr1k0d9kj3l0cl01hp4o0",
- "registration_count": 3,
- "portal": {
- "id": "95606071-49c7-4c2e-ae49-8a86d72a8110"
}, - "auth_strategy": {
- "id": "65606071-49c7-4c2e-ae49-8a86d72a8110",
- "name": "Client Credentials",
- "credential_type": "client_credentials",
- "auth_methods": [
- "client_credentials",
- "bearer",
- "session"
]
}, - "dcr_provider": {
- "id": "7ea06071-49c7-4c2e-ae49-8a86d72a8110"
}, - "granted_scopes": null,
- "developers": [
- {
- "id": "75606071-49c7-4c2e-ae49-8a86d72a8110"
}
], - "created_at": "2022-12-22T19:07:30.712Z",
- "updated_at": "2022-12-22T19:07:30.712Z"
}
]
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Returns the configuration of a single application in this portal. If an application is linked to a DCR Provider, the dcr_provider.id and client_id can be used to correlate it. An application manages a set of credentials and registrations for specific APIs.
| portalId required | string <uuid> ID of the portal. |
| applicationId required | string <uuid> ID of the application. |
{- "id": "b15e2460-ba40-431d-9df0-4957fcffacda",
- "labels": {
- "env": "test"
}, - "name": "App 1",
- "description": "An easy to manage app in a Konnect developer portal",
- "registration_count": 4,
- "portal": {
- "id": "95606071-49c7-4c2e-ae49-8a86d72a8110"
}, - "auth_strategy": {
- "id": "45606071-49c7-4c2e-ae49-8a86d72a8110",
- "name": "API Key",
- "credential_type": "key_auth",
- "key_names": [
- "apikey"
]
}, - "developers": [
- {
- "id": "75606071-49c7-4c2e-ae49-8a86d72a8110"
}
], - "created_at": "2022-12-22T19:09:30.712Z",
- "updated_at": "2022-12-22T19:09:30.712Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Delete a single application in this portal, along with its registrations and credentials.
| portalId required | string <uuid> ID of the portal. |
| applicationId required | string <uuid> ID of the application. |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Lists each developer that can access the given application for this portal.
| portalId required | string <uuid> ID of the portal. |
| applicationId required | string <uuid> ID of the application. |
| page[size] | integer Example: page[size]=10 The maximum number of items to include per page. The last page of a collection may include fewer items. |
| page[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
| sort | string Sorts a set of developers for an application. Supported sort attributes are:
|
object Filter application developers returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 4
}
}, - "data": [
- {
- "id": "8cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "email": "jane.developer@example.com",
- "full_name": "Jane Dev"
}, - {
- "id": "4cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "email": "john.developer@example.com",
- "full_name": "John Dev"
}, - {
- "id": "6cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "email": "john.developer@example.com",
- "full_name": "Jim Dev"
}, - {
- "id": "7cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "email": "john.developer@example.com",
- "full_name": "Jan Dev"
}
]
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Returns the configuration of a single application in any portal. If an application is linked to a DCR Provider, the dcr_provider.id and client_id can be used to correlate it. An application manages a set of credentials and registrations for specific APIs.
| applicationId required | string <uuid> ID of the application. |
{- "id": "b15e2460-ba40-431d-9df0-4957fcffacda",
- "labels": {
- "env": "test"
}, - "name": "App 1",
- "description": "An easy to manage app in a Konnect developer portal",
- "registration_count": 4,
- "portal": {
- "id": "95606071-49c7-4c2e-ae49-8a86d72a8110"
}, - "auth_strategy": {
- "id": "45606071-49c7-4c2e-ae49-8a86d72a8110",
- "name": "API Key",
- "credential_type": "key_auth",
- "key_names": [
- "apikey"
]
}, - "developers": [
- {
- "id": "75606071-49c7-4c2e-ae49-8a86d72a8110"
}
], - "created_at": "2022-12-22T19:09:30.712Z",
- "updated_at": "2022-12-22T19:09:30.712Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Lists all of the application registrations and their current status (e.g., approved or pending) for this portal. Each registration is associated with a single API. Access is provided through the credentials issued to the application that contains each registration.
| portalId required | string <uuid> ID of the portal. |
| page[size] | integer Example: page[size]=10 The maximum number of items to include per page. The last page of a collection may include fewer items. |
| page[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
| sort | string Sorts a collection of application registrations. Supported sort attributes are:
|
object Filter application registrations returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 2
}
}, - "data": [
- {
- "id": "c200cc33-2d33-4754-b086-a98e0fcd36fb",
- "status": "approved",
- "application": {
- "id": "e15e2460-ba40-431d-9df0-4957fcff7cda",
- "name": "App 1"
}, - "api": {
- "id": "56f637b7-cd95-478b-9b02-d770618f641c",
- "name": "Great Stuff",
- "version": "v1"
}, - "created_at": "2022-12-22T20:13:07.305Z",
- "updated_at": "2022-12-22T20:13:36.710Z"
}, - {
- "id": "d200cc33-2d33-4754-b086-a98e0fcd36fb",
- "status": "rejected",
- "application": {
- "id": "e15e2460-ba40-431d-9df0-4957fcff7cda",
- "name": "App 2"
}, - "api": {
- "id": "56f637b7-cd95-478b-9b02-d770618f641c",
- "name": "Great Stuff",
- "version": "v2"
}, - "created_at": "2022-12-22T20:13:07.305Z",
- "updated_at": "2022-12-22T20:13:36.710Z"
}, - {
- "id": "d300cc33-2d33-4754-b086-a98e0fcd36fb",
- "status": "pending",
- "application": {
- "id": "e15e2460-ba40-431d-9df0-4957fcff7cda",
- "name": "App 3"
}, - "api": {
- "id": "56f637b7-cd95-478b-9b02-d770618f641c",
- "name": "Good Stuff",
- "version": "v2"
}, - "created_at": "2022-12-22T20:13:07.305Z",
- "updated_at": "2022-12-22T20:13:36.710Z"
}, - {
- "id": "d300cc33-2d33-4754-b086-a98e0fcd36fb",
- "status": "revoked",
- "application": {
- "id": "e15e2460-ba40-431d-9df0-4957fcff7cda",
- "name": "App 3"
}, - "api": {
- "id": "56f637b7-cd95-478b-9b02-d770618f641c",
- "name": "Good Stuff",
- "version": "v1"
}, - "created_at": "2022-12-22T20:13:07.305Z",
- "updated_at": "2022-12-22T20:13:36.710Z"
}
]
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Lists each API that this application is registered for and their current status (e.g., pending, approved, rejected, revoked).
| portalId required | string <uuid> ID of the portal. |
| applicationId required | string <uuid> ID of the application. |
| page[size] | integer Example: page[size]=10 The maximum number of items to include per page. The last page of a collection may include fewer items. |
| page[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
| sort | string Sorts a set of registrations for an application. Supported sort attributes are:
|
object Filter application registrations returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 2
}
}, - "data": [
- {
- "id": "c200cc33-2d33-4754-b086-a98e0fcd36fb",
- "status": "approved",
- "application": {
- "id": "e15e2460-ba40-431d-9df0-4957fcff7cda",
- "name": "App 1"
}, - "api": {
- "id": "56f637b7-cd95-478b-9b02-d770618f641c",
- "name": "Great Stuff",
- "version": "v1"
}, - "created_at": "2022-12-22T20:13:07.305Z",
- "updated_at": "2022-12-22T20:13:36.710Z"
}, - {
- "id": "d200cc33-2d33-4754-b086-a98e0fcd36fb",
- "status": "rejected",
- "application": {
- "id": "e15e2460-ba40-431d-9df0-4957fcff7cda",
- "name": "App 2"
}, - "api": {
- "id": "56f637b7-cd95-478b-9b02-d770618f641c",
- "name": "Great Stuff",
- "version": "v2"
}, - "created_at": "2022-12-22T20:13:07.305Z",
- "updated_at": "2022-12-22T20:13:36.710Z"
}, - {
- "id": "d300cc33-2d33-4754-b086-a98e0fcd36fb",
- "status": "pending",
- "application": {
- "id": "e15e2460-ba40-431d-9df0-4957fcff7cda",
- "name": "App 3"
}, - "api": {
- "id": "56f637b7-cd95-478b-9b02-d770618f641c",
- "name": "Good Stuff",
- "version": "v2"
}, - "created_at": "2022-12-22T20:13:07.305Z",
- "updated_at": "2022-12-22T20:13:36.710Z"
}, - {
- "id": "d300cc33-2d33-4754-b086-a98e0fcd36fb",
- "status": "revoked",
- "application": {
- "id": "e15e2460-ba40-431d-9df0-4957fcff7cda",
- "name": "App 3"
}, - "api": {
- "id": "56f637b7-cd95-478b-9b02-d770618f641c",
- "name": "Good Stuff",
- "version": "v1"
}, - "created_at": "2022-12-22T20:13:07.305Z",
- "updated_at": "2022-12-22T20:13:36.710Z"
}
]
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Returns information about an application's registration status for a particular API.
| portalId required | string <uuid> ID of the portal. |
| applicationId required | string <uuid> ID of the application. |
| registrationId required | string <uuid> ID of the application registration. |
{- "id": "c300cc33-2d33-4754-b086-a98e0fcd36fb",
- "status": "approved",
- "application": {
- "id": "c15e2460-ba40-431d-9df0-4957fcff7cda",
- "name": "App 1"
}, - "api": {
- "id": "86f637b7-cd95-478b-9b02-d770618f641c",
- "name": "Great Stuff",
- "version": "v1"
}, - "created_at": "2022-12-22T20:13:07.305Z",
- "updated_at": "2022-12-22T20:13:36.710Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Updates the status of a particular application registration to an API. Approved application registrations will allow API traffic to the corresponding API. Revoked, rejected, or pending will not allow API traffic.
| portalId required | string <uuid> ID of the portal. |
| applicationId required | string <uuid> ID of the application. |
| registrationId required | string <uuid> ID of the application registration. |
Update an application registration.
| status | string (ApplicationRegistrationStatus) Enum: "approved" "pending" "revoked" "rejected" The status of an application registration request. Each registration is linked to a single API, and application credentials will not grant access to the API until the registration is approved. Pending, revoked, and rejected registrations will not provide access to the API. |
{- "status": "approved"
}{- "id": "c300cc33-2d33-4754-b086-a98e0fcd36fb",
- "status": "approved",
- "application": {
- "id": "c15e2460-ba40-431d-9df0-4957fcff7cda",
- "name": "App 1"
}, - "api": {
- "id": "86f637b7-cd95-478b-9b02-d770618f641c",
- "name": "Great Stuff",
- "version": "v1"
}, - "created_at": "2022-12-22T20:13:07.305Z",
- "updated_at": "2022-12-22T20:13:36.710Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Deletes an application registration, which if currently approved will immediately block API traffic to the API. Note: Developers can request a new application registration for the given API as long as they have RBAC access to consume.
| portalId required | string <uuid> ID of the portal. |
| applicationId required | string <uuid> ID of the application. |
| registrationId required | string <uuid> ID of the application registration. |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}List email domains
| page[size] | integer Example: page[size]=10 The maximum number of items to include per page. The last page of a collection may include fewer items. |
| page[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
| sort | string Sorts a collection of email domains. Supported sort attributes are:
|
object (EmailDomainFilterParameters) Filter email domains returned in the response. |
{- "data": [
- {
- "domain": "string",
- "verification": {
- "status": "pending",
- "last_time_checked": "2022-11-04T20:10:06.927Z",
- "last_time_success": "2022-11-04T20:10:06.927Z"
}, - "dns_validation_records": [
- {
- "type": "string",
- "name": "string",
- "value": "string"
}
], - "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}
], - "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 100
}
}
}Create an email domain
| domain required | string |
{- "domain": "string"
}{- "domain": "string",
- "verification": {
- "status": "pending",
- "last_time_checked": "2022-11-04T20:10:06.927Z",
- "last_time_success": "2022-11-04T20:10:06.927Z"
}, - "dns_validation_records": [
- {
- "type": "string",
- "name": "string",
- "value": "string"
}
], - "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}Get an email domain
| emailDomain required | string Email domain for custom portal email sender |
{- "domain": "string",
- "verification": {
- "status": "pending",
- "last_time_checked": "2022-11-04T20:10:06.927Z",
- "last_time_success": "2022-11-04T20:10:06.927Z"
}, - "dns_validation_records": [
- {
- "type": "string",
- "name": "string",
- "value": "string"
}
], - "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}Delete an email domain
| emailDomain required | string Email domain for custom portal email sender |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Retrieve the email delivery for the portal
| portalId required | string <uuid> ID of the portal. |
{- "enabled": true,
- "from_email": "user@example.com",
- "reply_to_email": "user@example.com",
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}Setup the email delivery for a portal
| portalId required | string <uuid> ID of the portal. |
| enabled | boolean |
| from_email | string or null <email> |
| reply_to_email | string or null <email> |
{- "enabled": true,
- "from_email": "user@example.com",
- "reply_to_email": "user@example.com"
}{- "enabled": true,
- "from_email": "user@example.com",
- "reply_to_email": "user@example.com",
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}Delete email delivery
| portalId required | string <uuid> ID of the portal. |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Updates a job to re-send audit logs to an portal's webhook.
| portalId required | string <uuid> ID of the portal. |
The request schema to replace a portal audit log replay job.
| start_at required | string <date-time> The start of a date-time range in RFC3339 format e.g. 2017-07-21T17:32:28Z. Must be within the last 7 days. |
| end_at required | string <date-time> The end of a date-time range in RFC3339 format e.g. 2017-07-21T17:32:28Z. Must be within the last 7 days. |
{- "start_at": "2019-08-24T14:15:22Z",
- "end_at": "2019-08-24T14:15:22Z"
}{- "start_at": "2017-07-21T17:32:28Z",
- "end_at": "2017-07-21T17:32:28Z",
- "status": "unconfigured",
- "updated_at": "2019-08-24T14:15:22Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Returns the audit log replay job's configuration and status.
| portalId required | string <uuid> ID of the portal. |
{- "start_at": "2017-07-21T17:32:28Z",
- "end_at": "2017-07-21T17:32:28Z",
- "status": "unconfigured",
- "updated_at": "2019-08-24T14:15:22Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Updates the configuration for a webhook to receive audit logs.
| portalId required | string <uuid> ID of the portal. |
The request schema to modify an portal audit log webhook.
| enabled | boolean Default: false Indicates if the data should be sent to the configured destination. |
| audit_log_destination_id | string <uuid> ID of the audit log destination. |
{- "enabled": false
}{- "enabled": true,
- "audit_log_destination_id": "9cb77dc2-ff99-4d47-84ab-7c5c1b3ef939"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Returns configuration for the audit log webhook.
| portalId required | string <uuid> ID of the portal. |
{- "enabled": true,
- "audit_log_destination_id": "9cb77dc2-ff99-4d47-84ab-7c5c1b3ef939"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Returns status of the audit log webhook.
| portalId required | string <uuid> ID of the portal. |
{- "webhook_enabled": true,
- "webhook_status": "inactive",
- "last_attempt_at": "2023-03-21T09:29:14.52Z",
- "last_response_code": 401,
- "last_response_message": "Unauthorized"
}