Create Group
API creates group in keycloak
Request
URI
POST
https://{api_host}/tcsa.host.com/tcsa/api/auth-management/v1/groups
COPY
Request Body
describes keycloak group
KeycloakCreateGroup of type(s) application/json
Required
{
"name": "test-group"
}
string
name
Optional
name of the group
Responses
201
OK
Operation doesn't return any data structure
400
Invalid Request sent by the user
Returns KeycloakErrorDetails of type(s) application/json
{
"error": "string"
}
string
error
Optional
Error message from keycloak
401
User authentication failed
Returns KeycloakErrorDetails of type(s) application/json
{
"error": "string"
}
string
error
Optional
Error message from keycloak
403
Access to the requested resource/operation is forbidden
Returns KeycloakErrorDetails of type(s) application/json
{
"error": "string"
}
string
error
Optional
Error message from keycloak
404
Cannot find requested resource
Returns KeycloakErrorDetails of type(s) application/json
{
"error": "string"
}
string
error
Optional
Error message from keycloak
500
Internal server error
Returns KeycloakErrorDetails of type(s) application/json
{
"error": "string"
}
string
error
Optional
Error message from keycloak
User Management Operations
POST
Create Group
POST
Create User
DELETE
Delete Group
DELETE
Delete User
GET
Get All User Groups
GET
Get Group By Id
GET
Get Groups
GET
Get Group Users
GET
Get User By Id
GET
Get Users
GET
Groups Count
PUT
Update Group
PUT
Update User
GET
Users Count
PUT
User To Group Mapping