Assign a role to a System Account (Internal)

Assigns a role to a managed system account. Returns 409 if role is already assigned.

post
https://global.api.konghq.com/v2/internal/system-accounts/{accountId}/assigned-roles

Path Parameters

accountIdstringrequired

ID of the system account.

Body

application/json

The request schema for assigning a role.

A parameterized assigned role is a role that has been assigned to a managed system account.

role_namestring

The desired role.

Example:Connector

entity_idstring(uuid)

The ID of the entity.

Example:e67490ce-44dc-4cbd-b65e-b52c746fc26a

entity_type_namestring

The type of entity.

Example:Mesh Control Planes

entity_regionstring

The region to scope the role assignment to.

Allowed values:useuaumeinsg*

Example:eu

parametersobject

Example:{"zoneName":"zone3"}

Response

application/json

A get response of a single parameterized assigned role.

ParameterizedAssignedRole

A parameterized assigned role is a role that has been assigned to a managed system account with additional parameters.

idstring(uuid)

The ID of the role assignment.

Example:eaf7adf1-32c8-4bbf-b960-d1f8456afe67

role_namestring

Name of the role being assigned.

Example:Viewer

entity_idstring(uuid)

A RBAC entity ID.

Example:817d0422-45c9-4d88-8d64-45aef05c1ae7

entity_type_namestring

Name of the entity type the role is being assigned to.

Example:Runtime Groups

entity_regionstring

Region of the entity.

Allowed values:useuaumeinsg*

Example:eu

parametersobject

Additional parameters for the role assignment.

* Additional properties are allowed.
post/internal/system-accounts/{accountId}/assigned-roles

Body

{ "id": "eaf7adf1-32c8-4bbf-b960-d1f8456afe67", "role_name": "Connector", "entity_id": "18ee2573-dec0-4b83-be99-fa7700bcdc61", "entity_type_name": "Mesh Control Planes", "entity_region": "eu", "parameters": { "zoneName": "zone4" } }
 
application/json

Create Organization (Internal)

Create a new organization with Auth0 authentication. The Auth0 user will be the organization owner.

post
https://global.api.konghq.com/v2/internal/auth0/register

Body

application/json

Auth0 organization register

Auth0 organization registration

organization_namestringrequired
default_regionstringrequired

Response

application/json

Auth0 organization registration

Auth0 organization registration response

A successful Auth0 organization registration response.

organization_idstring
login_pathstring
post/internal/auth0/register

Body

{ "organization_name": "organization_name", "default_region": "default_region" }
 
application/json

List Organizations (Internal)

Retrieves the list of organizations available to the given user.

get
https://global.api.konghq.com/v2/internal/auth0/organizations

Response

application/json

A paginated list response for a collection of auth0 organizations.

metaobject

returns the pagination information

Show Child Parameters
dataarray[object]

A single auth0 organization.

Show Child Parameters
get/internal/auth0/organizations
 
application/json

Auth0 organization schema.

object

A single auth0 organization.

namestringread-only

The name of the organization.

Example:My Organization

login_pathstringread-only

The login path of the organization.

Example:/v2/authenticate/federated?org_id=7f9fd312-a987-4628-b4c5-bb4f4fddd5f7

Example

Auth0 organization registration response

object

A successful Auth0 organization registration response.

organization_idstring
login_pathstring
Example