Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
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. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: User Management Role Management API
description: Manage users
version: '2.0'
tags:
- name: Role Management API
description: Manage roles
paths:
/api/2.0/roles:
get:
tags:
- Role Management API
summary: List roles
operationId: listRoles
responses:
'200':
description: Success
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Role'
'401':
description: User is not authenticated
content:
application/json:
schema:
$ref: '#/components/schemas/ApiMessage'
'403':
description: User is not allowed to access this resource
content:
application/json:
schema:
$ref: '#/components/schemas/ApiMessage'
'500':
description: Error during processing
content:
application/json:
schema:
$ref: '#/components/schemas/ApiMessage'
security:
- Authorization: []
/api/2.0/roles/{objectId}:
get:
tags:
- Role Management API
summary: Retrieve a role with specific ID
operationId: viewRole
parameters:
- name: objectId
in: path
description: Role ID to be retrieved
required: true
schema:
type: integer
format: int64
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/Role'
'401':
description: User is not authenticated
content:
application/json:
schema:
$ref: '#/components/schemas/ApiMessage'
'403':
description: User is not allowed to access this resource
content:
application/json:
schema:
$ref: '#/components/schemas/ApiMessage'
'500':
description: Error during processing
content:
application/json:
schema:
$ref: '#/components/schemas/ApiMessage'
security:
- Authorization: []
components:
schemas:
Role:
type: object
properties:
createdDate:
type: integer
description: Created date in milliseconds
format: int64
readOnly: true
lastModDate:
type: integer
description: Last modified date
format: int64
readOnly: true
id:
type: integer
description: Role id
format: int64
name:
type: string
description: Role name
jsonConfig:
type: string
description: Role JSON config (viz settings, etc.)
description: User role information
ApiMessage:
type: object
properties:
message:
type: string
description: Message
readOnly: true
documentation:
type: string
description: Link to documentation
readOnly: true
description: Response status
securitySchemes:
Authorization:
type: http
in: header
scheme: bearer
x-provenance:
method: harvested
publisher: Knowi
source: https://www.knowi.com/api/openapi.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)