Skip to content

AdminApi

All URIs are relative to http://localhost

MethodHTTP requestDescription
addRolePUT /admin/rolesAdd Role
addUserPUT /admin/usersAdd User
deleteRoleDELETE /admin/roles/Delete Role
deleteUserDELETE /admin/users/Delete User
getRoleGET /admin/roles/Get Role
getUserGET /admin/users/UserProfile for userId
gnerateNewApiKeyForUserPATCH /admin/users/{userId}/apikeyUpdate ApiKey
listRolesGET /admin/rolesList Roles
listUsersGET /admin/usersList Users
updatePasswordForUserPATCH /admin/users/{userId}/passwordUpdate Password
updateRolePATCH /admin/roles/Update Role
updateRolesForUserPATCH /admin/users/{userId}/rolesUpdate User Roles

addRole

Role addRole(Role)

Add Role

Add a new Role

Parameters

NameTypeDescriptionNotes
RoleRole

Return type

Role

Authorization

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json, text/plain

addUser

UserProfile addUser(UserInformation)

Add User

Add a new User

Parameters

NameTypeDescriptionNotes
UserInformationUserInformation

Return type

UserProfile

Authorization

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json, text/plain

deleteRole

JsonValue_Boolean deleteRole(roleName)

Delete Role

Delete Role

Parameters

NameTypeDescriptionNotes
roleNameStringRoleKey[default to null]

Return type

JsonValue_Boolean

Authorization

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

deleteUser

JsonValue_Boolean deleteUser(userId)

Delete User

Delete User

Parameters

NameTypeDescriptionNotes
userIdStringUserId to Delete[default to null]

Return type

JsonValue_Boolean

Authorization

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

getRole

Role getRole(roleName)

Get Role

Get Role by RoleKey

Parameters

NameTypeDescriptionNotes
roleNameStringRoleKey to search[default to null]

Return type

Role

Authorization

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

getUser

UserProfile getUser(userId)

UserProfile for userId

Get UserProfile for user

Parameters

NameTypeDescriptionNotes
userIdStringUserId to search[default to null]

Return type

UserProfile

Authorization

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

gnerateNewApiKeyForUser

JsonValue_String gnerateNewApiKeyForUser(userId)

Update ApiKey

Generate an new APIkey for the user

Parameters

NameTypeDescriptionNotes
userIdStringUserId to Update[default to null]

Return type

JsonValue_String

Authorization

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

listRoles

List listRoles(filter, rowsPerPage, page)

List Roles

List all Roles or filtered

Parameters

NameTypeDescriptionNotes
filterStringfilter after userId by contains[optional] [default to null]
rowsPerPageLongCount elements per page[optional] [default to null]
pageLongRequested page of the ResultSets[optional] [default to null]

Return type

List

Authorization

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, text/plain

listUsers

List listUsers(filter, rowsPerPage, page)

List Users

List all Users or filtered

Parameters

NameTypeDescriptionNotes
filterStringfilter after userId by contains[optional] [default to null]
rowsPerPageLongCount elements per page[optional] [default to null]
pageLongRequested page of the ResultSets[optional] [default to null]

Return type

List

Authorization

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, text/plain

updatePasswordForUser

JsonValue_Boolean updatePasswordForUser(userId, PasswordUpdateRequest)

Update Password

Change Password of User

Parameters

NameTypeDescriptionNotes
userIdStringUserId to Update[default to null]
PasswordUpdateRequestPasswordUpdateRequest

Return type

JsonValue_Boolean

Authorization

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json, text/plain

updateRole

Role updateRole(roleName, UpdateRoleRequest)

Update Role

Update Role

Parameters

NameTypeDescriptionNotes
roleNameStringRoleKey[default to null]
UpdateRoleRequestUpdateRoleRequest

Return type

Role

Authorization

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json, text/plain

updateRolesForUser

UserProfile updateRolesForUser(userId, request_body)

Update User Roles

Update Roles of User

Parameters

NameTypeDescriptionNotes
userIdStringUserId to Update[default to null]
request_bodyList[optional]

Return type

UserProfile

Authorization

httpAuth1, httpAuth, apiKeyAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json, text/plain

Released under the Apache License 2.0.