actionsOnRoles

abstract suspend fun actionsOnRoles(roleId: Long, command: String? = null): PostRolesRoleIdResponse

Enable Role | Disable Role Description : Enable role in case role is disabled. | Disable the role in case role is not associated with any users. Example Request: https://DomainName/api/v1/roles/{roleId}?command=enable https://DomainName/api/v1/roles/{roleId}?command=disable Responses:

  • 200: OK

Return

PostRolesRoleIdResponse

Parameters

roleId

roleId

command

command (optional)