Kong · Schema
GroupRole
API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen Source
Properties
| Name | Type | Description |
|---|---|---|
| group | object | |
| group_id | string | ID of the group. |
| rbac_role | object | |
| role_id | string | ID of the RBAC role assigned to the group. |
| workspace | string | Workspace ID. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/GroupRole",
"title": "GroupRole",
"x-speakeasy-entity": "GroupRole",
"type": "object",
"properties": {
"group": {
"type": "object",
"nullable": true,
"properties": {
"comment": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"updated_at": {
"type": "string",
"format": "date-time"
}
},
"x-foreign": true,
"x-speakeasy-terraform-ignore": true
},
"group_id": {
"description": "ID of the group.",
"type": "string",
"nullable": true
},
"rbac_role": {
"type": "object",
"nullable": true,
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"x-speakeasy-terraform-ignore": true
},
"role_id": {
"description": "ID of the RBAC role assigned to the group.",
"type": "string",
"nullable": true
},
"workspace": {
"description": "Workspace ID.",
"type": "string",
"nullable": true
}
},
"additionalProperties": false,
"x-speakeasy-transform-from-api": {
"jq": ".\n| if .group != null and .group.id != null\n then . + { group_id: .group.id }\n else .\n end\n| if .rbac_role != null and .rbac_role.id != null\n then . + { role_id: .rbac_role.id }\n else .\n end\n| if .workspace != null and (.workspace | type) == \"object\" and .workspace.id != null\n then .workspace = .workspace.id\n else .\n end\n| del(.group, .rbac_role)\n"
},
"x-speakeasy-transform-to-api": {
"jq": ".\n| if .workspace != null\n then . + { workspace_id: .workspace }\n else .\n end\n| if .role_id != null\n then . + { rbac_role_id: .role_id }\n else .\n end\n| del(.group_id, .role_id, .workspace, .group, .rbac_role)\n"
}
}