Deutsche Telekom Roles (by ID) API
The Roles (by ID) API from Deutsche Telekom — 5 operation(s) for roles (by id).
The Roles (by ID) API from Deutsche Telekom — 5 operation(s) for roles (by id).
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/deutsche-telekom-roles-by-id-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Keycloak Admin REST Roles (by ID) API
description: This is a REST API reference for the Keycloak Admin
version: '1'
security:
- access_token: []
tags:
- name: Roles (by ID)
paths:
/{realm}/roles-by-id/{role-id}:
parameters:
- in: path
name: realm
description: realm name (not id!)
required: true
schema:
type: string
style: simple
- in: path
name: role-id
description: id of role
required: true
schema:
type: string
style: simple
get:
tags:
- Roles (by ID)
summary: Get a specific role’s representation
responses:
2XX:
description: success
content:
application/json:
schema:
$ref: '#/components/schemas/RoleRepresentation'
put:
tags:
- Roles (by ID)
summary: Update the role
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/RoleRepresentation'
required: true
responses:
2XX:
description: success
delete:
tags:
- Roles (by ID)
summary: Delete the role
responses:
2XX:
description: success
/{realm}/roles-by-id/{role-id}/composites:
parameters:
- in: path
name: realm
description: realm name (not id!)
required: true
schema:
type: string
style: simple
- in: path
name: role-id
description: Role id
required: true
schema:
type: string
style: simple
get:
tags:
- Roles (by ID)
summary: Get role’s children Returns a set of role’s children provided the role is a composite.
responses:
2XX:
description: success
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/RoleRepresentation'
post:
tags:
- Roles (by ID)
summary: Make the role a composite role by associating some child roles
requestBody:
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/RoleRepresentation'
required: true
responses:
2XX:
description: success
delete:
tags:
- Roles (by ID)
summary: Remove a set of roles from the role’s composite
requestBody:
description: A set of roles to be removed
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/RoleRepresentation'
required: true
responses:
2XX:
description: success
/{realm}/roles-by-id/{role-id}/composites/clients/{client}:
parameters:
- in: path
name: realm
description: realm name (not id!)
required: true
schema:
type: string
style: simple
- in: path
name: role-id
required: true
schema:
type: string
style: simple
- in: path
name: client
required: true
schema:
type: string
style: simple
get:
tags:
- Roles (by ID)
summary: Get client-level roles for the client that are in the role’s composite
responses:
2XX:
description: success
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/RoleRepresentation'
/{realm}/roles-by-id/{role-id}/composites/realm:
parameters:
- in: path
name: realm
description: realm name (not id!)
required: true
schema:
type: string
style: simple
- in: path
name: role-id
required: true
schema:
type: string
style: simple
get:
tags:
- Roles (by ID)
summary: Get realm-level roles that are in the role’s composite
responses:
2XX:
description: success
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/RoleRepresentation'
/{realm}/roles-by-id/{role-id}/management/permissions:
parameters:
- in: path
name: realm
description: realm name (not id!)
required: true
schema:
type: string
style: simple
- in: path
name: role-id
required: true
schema:
type: string
style: simple
get:
tags:
- Roles (by ID)
summary: Return object stating whether role Authoirzation permissions have been initialized or not and a reference
responses:
2XX:
description: success
content:
application/json:
schema:
$ref: '#/components/schemas/ManagementPermissionReference'
put:
tags:
- Roles (by ID)
summary: Return object stating whether role Authoirzation permissions have been initialized or not and a reference
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ManagementPermissionReference'
required: true
responses:
2XX:
description: success
content:
application/json:
schema:
$ref: '#/components/schemas/ManagementPermissionReference'
components:
schemas:
RoleRepresentation-Composites:
type: object
properties:
client:
type: object
additionalProperties: true
realm:
type: array
items:
type: string
RoleRepresentation:
type: object
properties:
attributes:
type: object
additionalProperties: true
clientRole:
type: boolean
composite:
type: boolean
composites:
$ref: '#/components/schemas/RoleRepresentation-Composites'
containerId:
type: string
description:
type: string
id:
type: string
name:
type: string
ManagementPermissionReference:
type: object
properties:
enabled:
type: boolean
resource:
type: string
scopePermissions:
type: object
additionalProperties: true
securitySchemes:
access_token:
type: http
scheme: bearer
bearerFormat: null
externalDocs:
description: Schema source code
url: https://github.com/keycloak/keycloak/tree/6.0.1/core/src/main/java/org/keycloak/representations